|
@@ -238,18 +238,19 @@ export const asyncRoutes = [
|
|
name:"createNewDocument",
|
|
name:"createNewDocument",
|
|
meta: { title: '创建文档', noCache: true,hidden:true }
|
|
meta: { title: '创建文档', noCache: true,hidden:true }
|
|
}, */
|
|
}, */
|
|
|
|
+ {
|
|
|
|
+ path: 'category/search',
|
|
|
|
+ component: () => import('@/views/document/category/search'),
|
|
|
|
+ name: 'documentCategory',
|
|
|
|
+ meta: { title: '文档分类', noCache: true ,roles: ['admin']}
|
|
|
|
+ },
|
|
{
|
|
{
|
|
path: 'temList',
|
|
path: 'temList',
|
|
component: () => import('@/views/document/temList/temList'),
|
|
component: () => import('@/views/document/temList/temList'),
|
|
name: 'documentTemList',
|
|
name: 'documentTemList',
|
|
meta: { title: '模板列表', noCache: true }
|
|
meta: { title: '模板列表', noCache: true }
|
|
},
|
|
},
|
|
- {
|
|
|
|
- path: 'category/search',
|
|
|
|
- component: () => import('@/views/document/category/search'),
|
|
|
|
- name: 'documentCategory',
|
|
|
|
- meta: { title: '文档分类', noCache: true ,roles: ['admin']}
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
{
|
|
{
|
|
path: '/template/category/search',
|
|
path: '/template/category/search',
|
|
component: () => import('@/views/template/category/search'),
|
|
component: () => import('@/views/template/category/search'),
|