mirror of https://github.com/certd/certd
fix: 修复头像没有更新的bug
parent
8c7f976ef5
commit
9b4a31fa6a
|
@ -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();
|
||||
|
|
|
@ -205,6 +205,7 @@ async function loadPluginGroups() {
|
|||
|
||||
const pluginGroups = ref();
|
||||
onMounted(async () => {
|
||||
await userStore.loadUserInfo();
|
||||
await loadLatestVersion();
|
||||
await loadCount();
|
||||
await loadPluginGroups();
|
||||
|
|
Loading…
Reference in New Issue