fix: 商品导入后,导入动态样式未取消
This commit is contained in:
parent
ad28e70a07
commit
3471caf00a
@ -550,11 +550,12 @@ export default {
|
|||||||
async upload() {
|
async upload() {
|
||||||
let fd = new FormData();
|
let fd = new FormData();
|
||||||
fd.append("files", this.file);
|
fd.append("files", this.file);
|
||||||
this.spinShow = false
|
this.spinShow = true
|
||||||
let res = await uploadGoodsExcel(fd);
|
let res = await uploadGoodsExcel(fd);
|
||||||
|
this.spinShow = false
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.spinShow = true
|
|
||||||
this.$Message.success("导入成功")
|
this.$Message.success("导入成功")
|
||||||
|
this.init();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openImportGoods(){
|
openImportGoods(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user