import type { Route } from '@/global' const Layout = () => import('@/layouts/index.vue') const routes: Route.recordRaw[] = [ { path: '/laboratory', component: Layout, redirect: '/laboratory/index2', name: 'Metering', meta: { title: '实验室', icon: 'ep:key', auth: '/laboratory/index', }, children: [ { path: '/index2', component: Layout, redirect: '/index2/list2', name: 'Index112', meta: { title: '区域管理', icon: 'ep:key', auth: '/laboratory/index', }, children: [ { path: 'list2', name: 'AreaList2', component: () => import('@/views/laboratory/index.vue'), meta: { title: '区域管理', auth: '/laboratory/index', sidebar: false, breadcrumb: false, activeMenu: '/laboratory', }, }, ], }, ], }, ] export default routes