From 2b44f1d6dc3940007a80316be720b057b2b47b23 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 12 May 2025 21:15:26 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E4=BF=AE=E6=94=B9=E4=BF=A1=E6=81=AF=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E6=B2=A1=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Profile/Index.vue | 10 ++++++++-- src/views/Profile/components/BasicInfo.vue | 8 ++++++++ src/views/Profile/components/ProfileUser.vue | 6 ++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/views/Profile/Index.vue b/src/views/Profile/Index.vue index 6b29cc5e..29b26946 100644 --- a/src/views/Profile/Index.vue +++ b/src/views/Profile/Index.vue @@ -7,13 +7,13 @@ {{ t('profile.user.title') }} - +
- + @@ -32,6 +32,12 @@ import { BasicInfo, ProfileUser, ResetPwd, UserSocial } from './components' const { t } = useI18n() defineOptions({ name: 'Profile' }) const activeName = ref('basicInfo') +const profileUserRef = ref() + +// 处理基本信息更新成功 +const handleBasicInfoSuccess = async () => { + await profileUserRef.value?.refresh() +}