zhangxiao
2024-08-09 273935281037c6d1ec0e556a17a40552aab00bce
src/router/routes/modules/knowledgeLib.ts
New file
@@ -0,0 +1,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;