diff --git a/src/router/index.ts b/src/router/index.ts index 07ca497..016c040 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -204,6 +204,9 @@ export const staticRoutes: RouteRecordRaw[] = [ component: () => import('@/views/talk/Talk.vue'), meta: { title: 'Talk', icon: 'ChatDotRound', requiresAuth: true, menuGuarded: true }, }, + // 兼容历史菜单链接:MenuLink 曾写 pages/talk/index.html(规范化后为 /talk/index), + // 现清单已改为 pages/talk.html(→ /talk);此重定向兜住浏览器缓存的旧菜单 + { path: 'talk/index', redirect: '/talk' }, // === Gitea 代码托管对接 === { path: 'gitea/mine',