import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';
const session: AppRouteRecordRaw = {
    path: '/session',
    name: 'session',
    component: DEFAULT_LAYOUT,
    meta: {
        locale: 'menu.session',
        requiresAuth: true,
        icon: 'icon-voice',
        order: 3,
        hideInMenu:false
    },
    children:[
        {
            path:'sessionManager',
            name:"sessionManager",
            meta:{
                locale: '会话管理',
                requiresAuth: true,
                roles: ['*'],
            },
            component:()=>import('@/views/session/sessionManager/index.vue'),
        },
        {
            path:'sessionRecordsManager',
            name:"sessionRecordsManager",
            meta:{
                locale: '会话记录',
                requiresAuth: true,
                roles: ['*'],
            },
            component:()=>import('@/views/session/sessionRecordsManager/index.vue'),
        }
    ]
};
export default session;