This commit is contained in:
2025-08-31 15:29:05 +08:00
parent acb59b64bd
commit 0a45d62278
4 changed files with 34 additions and 23 deletions

View File

@@ -116,6 +116,12 @@ export const constantRoutes = [
}
]
},
// 公开评论独立页(不使用 Layout无侧边栏
{
path: '/public/comment',
component: () => import('@/views/public/CommentGenerator'),
hidden: true
},
{
path: '/jdorder',
component: Layout,
@@ -146,22 +152,6 @@ export const constantRoutes = [
}
]
},
// 公共页面(免登录)可直接通过服务端 Anonymous 注解放行接口,这里仍挂在主框架下展示
{
path: '/public',
component: Layout,
redirect: 'noredirect',
name: 'Public',
meta: { title: '公共工具', icon: 'link' },
children: [
{
path: 'comment',
component: () => import('@/views/public/CommentGenerator'),
name: 'CommentGeneratorPublic',
meta: { title: '评论生成(公开)', icon: 'message' }
}
]
},
{
path: '/sloworder',
component: Layout,