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