update:导入分类接口新增2分钟超时时间
This commit is contained in:
parent
cfb1eb33c0
commit
2764f03aa5
@ -159,6 +159,7 @@ export async function categoryImportData(data) {
|
|||||||
'Content-Type': 'multipart/form-data',
|
'Content-Type': 'multipart/form-data',
|
||||||
},
|
},
|
||||||
data,
|
data,
|
||||||
|
timeout: 120000
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export async function brandImportData(data) {
|
export async function brandImportData(data) {
|
||||||
|
|||||||
@ -159,7 +159,6 @@ export default {
|
|||||||
this.uploadMessageType = 'success'
|
this.uploadMessageType = 'success'
|
||||||
|
|
||||||
const res = await GoodsToolApi.categoryImportData(formData)
|
const res = await GoodsToolApi.categoryImportData(formData)
|
||||||
console.log("?????",res)
|
|
||||||
if (res.status === 200) {
|
if (res.status === 200) {
|
||||||
this.uploadMessage = '文件上传成功!'
|
this.uploadMessage = '文件上传成功!'
|
||||||
this.uploadMessageType = 'success'
|
this.uploadMessageType = 'success'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user