|
|
@ -501,18 +501,18 @@ export const asyncRouterMap = [ |
|
|
|
path: '/content/article', |
|
|
|
path: '/content/article', |
|
|
|
component: RouteView, |
|
|
|
component: RouteView, |
|
|
|
redirect: '/content/article/index', |
|
|
|
redirect: '/content/article/index', |
|
|
|
meta: { title: '文章管理', keepAlive: false, permission: ['/content/article'] }, |
|
|
|
meta: { title: '帮助中心', keepAlive: false, permission: ['/content/article'] }, |
|
|
|
moduleKey: 'content-article', |
|
|
|
moduleKey: 'content-article', |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/content/article/category/index', |
|
|
|
path: '/content/article/category/index', |
|
|
|
component: () => import(/* webpackChunkName: "content" */ '@/views/content/article/category/Index'), |
|
|
|
component: () => import(/* webpackChunkName: "content" */ '@/views/content/article/category/Index'), |
|
|
|
meta: { title: '文章分类', keepAlive: false, permission: ['/content/article/category/index'] } |
|
|
|
meta: { title: '帮助分类', keepAlive: false, permission: ['/content/article/category/index'] } |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/content/article/index', |
|
|
|
path: '/content/article/index', |
|
|
|
component: () => import(/* webpackChunkName: "content" */ '@/views/content/article/Index'), |
|
|
|
component: () => import(/* webpackChunkName: "content" */ '@/views/content/article/Index'), |
|
|
|
meta: { title: '文章列表', keepAlive: false, permission: ['/content/article/index'] } |
|
|
|
meta: { title: '帮助列表', keepAlive: false, permission: ['/content/article/index'] } |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
@ -552,12 +552,12 @@ export const asyncRouterMap = [ |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
// {
|
|
|
|
path: '/content/help/index', |
|
|
|
// path: '/content/help/index',
|
|
|
|
component: () => import(/* webpackChunkName: "content" */ '@/views/content/help/Index'), |
|
|
|
// component: () => import(/* webpackChunkName: "content" */ '@/views/content/help/Index'),
|
|
|
|
meta: { title: '帮助中心', keepAlive: false, permission: ['/content/help/index'] }, |
|
|
|
// meta: { title: '帮助中心', keepAlive: false, permission: ['/content/help/index'] },
|
|
|
|
moduleKey: 'content-help' |
|
|
|
// moduleKey: 'content-help'
|
|
|
|
}, |
|
|
|
// },
|
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/content/richText/index', |
|
|
|
path: '/content/richText/index', |
|
|
|
component: () => import(/* webpackChunkName: "content" */ '@/views/content/richText/Index'), |
|
|
|
component: () => import(/* webpackChunkName: "content" */ '@/views/content/richText/Index'), |
|
|
|