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() +}