diff --git a/src/store/modules/route/index.ts b/src/store/modules/route/index.ts index 3230c033..c3cb4191 100644 --- a/src/store/modules/route/index.ts +++ b/src/store/modules/route/index.ts @@ -318,7 +318,7 @@ export const useRouteStore = defineStore(SetupStoreId.Route, () => { } async function onRouteSwitchWhenLoggedIn() { - await authStore.initUserInfo(); + // some global init logic when logged in and switch route } async function onRouteSwitchWhenNotLoggedIn() {