!49 pure补充头像上传逻辑

Merge pull request !49 from tyjctl/abp
This commit is contained in:
橙子
2024-10-07 07:02:36 +00:00
committed by Gitee
5 changed files with 42 additions and 15 deletions

View File

@@ -52,7 +52,7 @@ export const updateUserProfile = data => {
/** 只修改用户头像 */
export const updateUserIcon = data => {
return http.request<Result>("put", `/account/icon`, { data: { icon: data } });
return http.request<Result>("put", `/account/icon`, { data });
};
/** 用户密码重置 */