mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 17:05:54 +08:00
fix: 商品导入后,导入动态样式未取消
This commit is contained in:
@@ -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
|
|
||||||
let res = await uploadGoodsExcel(fd);
|
|
||||||
if (res.success) {
|
|
||||||
this.spinShow = true
|
this.spinShow = true
|
||||||
|
let res = await uploadGoodsExcel(fd);
|
||||||
|
this.spinShow = false
|
||||||
|
if (res.success) {
|
||||||
this.$Message.success("导入成功")
|
this.$Message.success("导入成功")
|
||||||
|
this.init();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openImportGoods(){
|
openImportGoods(){
|
||||||
|
|||||||
Reference in New Issue
Block a user