mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-05-10 22:54:31 +00:00
修复头像的 bug
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user