diff --git a/src/api/goodsTool.js b/src/api/goodsTool.js index 188d622..f8075af 100644 --- a/src/api/goodsTool.js +++ b/src/api/goodsTool.js @@ -159,6 +159,7 @@ export async function categoryImportData(data) { 'Content-Type': 'multipart/form-data', }, data, + timeout: 120000 }) } export async function brandImportData(data) { diff --git a/src/views/product/goodsImport/importCategory.vue b/src/views/product/goodsImport/importCategory.vue index 58e0d98..fd3e0d3 100644 --- a/src/views/product/goodsImport/importCategory.vue +++ b/src/views/product/goodsImport/importCategory.vue @@ -159,7 +159,6 @@ export default { this.uploadMessageType = 'success' const res = await GoodsToolApi.categoryImportData(formData) - console.log("?????",res) if (res.status === 200) { this.uploadMessage = '文件上传成功!' this.uploadMessageType = 'success'