1
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user