From d6c8142bb4298ea12b065cd6522e05035d2f762a Mon Sep 17 00:00:00 2001 From: wenyuan <49969025+wenyuanw@users.noreply.github.com> Date: Tue, 15 Jul 2025 20:58:40 +0800 Subject: [PATCH] refactor(projects): remove unnecessary logic in onRouteSwitchWhenLoggedIn --- src/store/modules/route/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {