Explorar el Código

【代码优化】review 个人中心的各种

YunaiV hace 11 meses
padre
commit
9a6c40fc4a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/views/Profile/components/UserAvatar.vue

+ 1 - 0
src/views/Profile/components/UserAvatar.vue

@@ -27,6 +27,7 @@ const userStore = useUserStore()
 
 const cropperRef = ref()
 const handelUpload = async ({ data }) => {
+  // TODO @芋艿:去掉这个接口,使用 url 直接上传
   const res = await uploadAvatar({ avatarFile: data })
   cropperRef.value.close()
   userStore.setUserAvatarAction(res.data)