mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-09-17 08:46:39 +08:00
Merge pull request #115 from qiuyier/bugfix/issue-109
fix(src/api/base/index.ts): 富文本无法上传图片
This commit is contained in:
commit
f78f44e00f
@ -16,6 +16,7 @@ export function UploadImage(params) {
|
||||
const headers = {
|
||||
Authorization: useUserStore.token,
|
||||
uploadType: 'default',
|
||||
'Content-Type': 'multipart/form-data',
|
||||
};
|
||||
return http.request({
|
||||
url: '/upload/file',
|
||||
|
Loading…
Reference in New Issue
Block a user