修改图像不能上传问题

dev_xd
haha 2025-01-02 22:40:43 +08:00
parent cee073cbc7
commit 0ab4165788
1 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,9 @@ export function uploadAvatar(data) {
return request({
url: '/system/user/profile/avatar',
method: 'post',
headers: {
'Content-Type': 'multipart/form-data'
},
data: data
})
}