修复头像的 bug

This commit is contained in:
YunaiV
2021-10-06 01:21:18 +08:00
parent 79f9f7b93d
commit e8e6024a2b
5 changed files with 13 additions and 12 deletions

View File

@ -113,7 +113,7 @@ export function updateUserPwd(oldPassword, newPassword) {
// 用户头像上传
export function uploadAvatar(data) {
return request({
url: '/system/user/profile/avatar',
url: '/system/user/profile/update-avatar',
method: 'put',
data: data
})