mirror of
https://github.com/certd/certd.git
synced 2026-05-15 12:37:30 +08:00
fix: 修复头像没有更新的bug
This commit is contained in:
@@ -82,6 +82,10 @@ export const useUserStore = defineStore({
|
||||
return userInfo;
|
||||
},
|
||||
|
||||
async loadUserInfo() {
|
||||
await this.getUserInfoAction();
|
||||
},
|
||||
|
||||
async onLoginSuccess(loginData: any) {
|
||||
await this.getUserInfoAction();
|
||||
const userInfo = await this.getUserInfoAction();
|
||||
|
||||
Reference in New Issue
Block a user