上传优化
This commit is contained in:
parent
2cefc795da
commit
5343b10d94
|
|
@ -8,7 +8,9 @@ export function imgUpLoad(param){
|
|||
url: '/system/sys/file/upload',
|
||||
method: 'post',
|
||||
data: formData,
|
||||
header:'multipart/form-data'
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -20,7 +22,9 @@ export function imgUpLoad(param){
|
|||
url: '/file/upload',
|
||||
method: 'post',
|
||||
data: formData,
|
||||
header:'multipart/form-data'
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -34,7 +38,9 @@ export function imgUpLoad(param){
|
|||
url: '/file/uploadFiles',
|
||||
method: 'post',
|
||||
data: formData,
|
||||
header:'multipart/form-data'
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue