Skip to content

Commit 9a6c40f

Browse files
committed
【代码优化】review 个人中心的各种
1 parent 5a91eaa commit 9a6c40f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/Profile/components/UserAvatar.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const userStore = useUserStore()
2727
2828
const cropperRef = ref()
2929
const handelUpload = async ({ data }) => {
30+
// TODO @芋艿:去掉这个接口,使用 url 直接上传
3031
const res = await uploadAvatar({ avatarFile: data })
3132
cropperRef.value.close()
3233
userStore.setUserAvatarAction(res.data)

0 commit comments

Comments
 (0)