From 9a6c40fc4a31c46099ba108226522567b14460bb Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 22 Apr 2025 09:29:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91review=20=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E7=9A=84?= =?UTF-8?q?=E5=90=84=E7=A7=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Profile/components/UserAvatar.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/Profile/components/UserAvatar.vue b/src/views/Profile/components/UserAvatar.vue index 29a52a5e..49ccd2aa 100644 --- a/src/views/Profile/components/UserAvatar.vue +++ b/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)