mirror of
https://github.com/1Panel-dev/KubePi.git
synced 2026-04-22 16:27:10 +08:00
fixed:文件管理器无法上传的bug (#231)
This commit is contained in:
@@ -117,7 +117,7 @@ export const del = (url, loading) => {
|
||||
}
|
||||
|
||||
export const postFile= (url,data, params,loading) => {
|
||||
return promise(request({url: url, method: "post",data: data,params:params, headers:{"Content-Type":"application/json"},timeout:600000}), loading)
|
||||
return promise(request({url: url, method: "post",data: data,params:params, headers:{"Content-Type":"multipart/form-data"},timeout:600000}), loading)
|
||||
}
|
||||
|
||||
export const patch = (url, data, headers, loading) => {
|
||||
|
||||
Reference in New Issue
Block a user