fix: 修复刷新菜单404 (#783)

This commit is contained in:
shaohuzhang1 2024-07-16 18:15:10 +08:00 committed by wangdan-fit2cloud
parent 06ecba867c
commit ce1434edf1

View File

@ -81,7 +81,7 @@ const useUserStore = defineStore({
async profile() {
return UserApi.profile().then((ok) => {
this.userInfo = ok.data
this.asyncGetProfile()
return this.asyncGetProfile()
})
},