mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-23 23:19:19 +08:00
fix: 修复未登录停留在在欢迎页
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user