zhangxiao
2024-08-15 f74f264d875b003730484f3fe7cb242c7f91294e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';
const session: AppRouteRecordRaw = {
    path: '/knowledgeLib',
    name: 'knowledgeLib',
    component: DEFAULT_LAYOUT,
    meta: {
        locale: '知识库管理',
        requiresAuth: true,
        icon: 'icon-storage',
        order: 2,
        hideInMenu:false,
    },
    children:[
        {
            path: '/knowledgeLib',
            name: 'knowledgeLib',
            component: () => import('@/views/dmx/knowledgeLib/index.vue'),
            meta: {
                requiresAuth: true,
                hideInMenu:true,
                roles: ['*'],
            },
        },
    ]
};
export default session;