dev2 #1
@ -159,6 +159,7 @@ export async function categoryImportData(data) {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
},
|
||||
data,
|
||||
timeout: 120000
|
||||
})
|
||||
}
|
||||
export async function brandImportData(data) {
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user