feat: 隐藏导航页面

This commit is contained in:
fyy
2025-08-25 17:04:41 +08:00
parent 66b7cc44e9
commit 1de539ddde
4 changed files with 98 additions and 87 deletions

View File

@@ -56,9 +56,7 @@ export const useAuthStore = defineStore('auth', () => {
if (accessStore.loginExpired) {
accessStore.setLoginExpired(false);
} else {
onSuccess
? await onSuccess?.()
: await router.push('/navigation');
onSuccess ? await onSuccess?.() : await router.push('/analytics');
}
if (userInfo?.realName) {