mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-04-30 18:21:45 +00:00
fix:个人中心修改信息后,左侧没变化
This commit is contained in:
@@ -60,6 +60,12 @@ const getUserInfo = async () => {
|
||||
const users = await getUserProfile()
|
||||
userInfo.value = users
|
||||
}
|
||||
|
||||
// 暴露刷新方法
|
||||
defineExpose({
|
||||
refresh: getUserInfo
|
||||
})
|
||||
|
||||
onMounted(async () => {
|
||||
await getUserInfo()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user