fix: 关闭验证码功能前端控制显示

This commit is contained in:
xingyu
2022-07-28 10:28:03 +08:00
parent 62dc600c51
commit 30836b0797
5 changed files with 38 additions and 16 deletions

View File

@ -24,6 +24,6 @@ export const updateUserPwdApi = (oldPassword: string, newPassword: string) => {
}
// 用户头像上传
export const uploadAvatarApi = (data) => {
return request.put({ url: '/system/user/profile/update-avatar', data: data })
export const uploadAvatarApi = (params) => {
return request.upload({ url: '/system/user/profile/update-avatar', params })
}