diff --git a/manager/src/views/goods/goods-info/goodsDetail.vue b/manager/src/views/goods/goods-info/goodsDetail.vue
index 4eb3dcff..7446b5ab 100644
--- a/manager/src/views/goods/goods-info/goodsDetail.vue
+++ b/manager/src/views/goods/goods-info/goodsDetail.vue
@@ -72,6 +72,14 @@
+
+
+
diff --git a/seller/src/views/goods/goods-seller/goods.vue b/seller/src/views/goods/goods-seller/goods.vue
index b1871120..e9e62444 100644
--- a/seller/src/views/goods/goods-seller/goods.vue
+++ b/seller/src/views/goods/goods-seller/goods.vue
@@ -199,6 +199,7 @@
选择或拖拽文件上传
+
@@ -222,13 +223,14 @@ import {
} from "@/api/goods";
import { baseUrl } from "@/libs/axios.js";
import * as API_Shop from "@/api/shops";
-import Cookies from "js-cookie";
+
import {uploadGoodsExcel} from "../../../api/goods";
export default {
name: "goods",
data() {
return {
+ spinShow:false,
accessToken: {}, // 验证token
importModal: false,
action: baseUrl + "/goods/import/import", // 上传接口
@@ -546,15 +548,11 @@ export default {
async upload() {
let fd = new FormData();
fd.append("files", this.file);
+ this.spinShow = false
let res = await uploadGoodsExcel(fd);
if (res.success) {
- this.stepList.map((item) => {
- item.checked = false;
- this.$Message.success("导入成功")
- this.importModal = false
- });
-
- this.stepList[2].checked = true;
+ this.spinShow = true
+ this.$Message.success("导入成功")
}
},
openImportGoods(){