mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 17:05:54 +08:00
更换editor,可支持拖拽式上传
This commit is contained in:
@@ -318,13 +318,16 @@ export const uploadFileRequest = (url, params) => {
|
||||
return service({
|
||||
method: "post",
|
||||
url: `${url}`,
|
||||
params: params,
|
||||
data: params,
|
||||
headers: {
|
||||
accessToken: accessToken
|
||||
accessToken: accessToken,
|
||||
'Content-Type': 'multipart/form-data'
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 无需token验证的请求 避免旧token过期导致请求失败
|
||||
* @param {*} url
|
||||
|
||||
Reference in New Issue
Block a user