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

This commit is contained in:
shaohuzhang1 2024-07-16 18:15:10 +08:00 committed by GitHub
parent ce7351e702
commit f83e0d7efa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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