This commit is contained in:
2025-08-28 01:19:56 +08:00
parent 483a7c019c
commit 6d257dc840
2 changed files with 91 additions and 0 deletions

View File

@@ -146,6 +146,22 @@ 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,