fix: 修复未登录停留在在欢迎页

This commit is contained in:
2026-08-25 09:40:46 +08:00
parent 81358e6d7c
commit 3d8865beb7
2 changed files with 1 additions and 2 deletions
@@ -65,7 +65,7 @@ const showDot = computed(() =>
notifications.value.some((item) => !item.isRead),
);
// 登录布局挂载:已登录才建 SSE 与导入任务(welcome 等 ignoreAccess 页未登录也会进此布局)
// 登录布局挂载:已登录才建 SSE 与导入任务
onMounted(() => {
if (!accessStore.accessToken) {
return;
@@ -11,7 +11,6 @@ const staticRoutes: RouteRecordRaw[] = [
meta: {
title: '首页',
hideInMenu: true,
ignoreAccess: true,
},
},
];