fix: 修复用户信息接口调用两次问题

This commit is contained in:
xlsea 2025-05-18 13:56:21 +08:00
parent 72a5d7075c
commit 0a128797cf

View File

@ -387,7 +387,7 @@ export const useRouteStore = defineStore(SetupStoreId.Route, () => {
} }
async function onRouteSwitchWhenLoggedIn() { async function onRouteSwitchWhenLoggedIn() {
await authStore.initUserInfo(); // await authStore.initUserInfo();
} }
async function onRouteSwitchWhenNotLoggedIn() { async function onRouteSwitchWhenNotLoggedIn() {