From bcc47124c27cf76e6c6c8aeeeec53af318b27b01 Mon Sep 17 00:00:00 2001 From: whyzxhnd Date: Fri, 22 Aug 2025 15:54:29 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=A4=B4=E5=83=8F=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/Profile/Index.vue | 11 ++++++++--- web/src/views/Profile/components/BasicInfo.vue | 3 +++ web/src/views/Profile/components/ProfileUser.vue | 9 ++++++++- web/src/views/Profile/components/UserAvatar.vue | 3 +++ web/src/views/lock/grouplock/components/MobileGroupLock.vue | 4 ++-- 5 files changed, 24 insertions(+), 6 deletions(-) diff --git a/web/src/views/Profile/Index.vue b/web/src/views/Profile/Index.vue index 5a2a5f9..20c78f7 100644 --- a/web/src/views/Profile/Index.vue +++ b/web/src/views/Profile/Index.vue @@ -7,13 +7,13 @@ {{ t('profile.user.title') }} - +
- + @@ -30,11 +30,16 @@ const { t } = useI18n() defineOptions({ name: 'Profile' }) const activeName = ref('basicInfo') const profileUserRef = ref() +const basicInfoRef = ref() // 处理基本信息更新成功 const handleBasicInfoSuccess = async () => { await profileUserRef.value?.refresh() } + +const handleUpdateAvatar = () => { + basicInfoRef.value.init() +}