import type { Route } from '@/global' // const Layout = () => import('@/layouts/index.vue') const Layout = () => import('@/layouts/index_noSiderbar.vue') const routes: Route.recordRaw[] = [ { path: '/sjtj', component: Layout, redirect: '/statistics', name: 'Sjtj', meta: { title: '数据统计', icon: 'icon-line', auth: '/statistics' }, children: [ { path: '/statistics', name: 'statistics', component: () => import('@/views/monitor/statistics/statistics.vue'), meta: { title: '数据统计', auth: '/statistics', sidebar: false, breadcrumb: false, activeMenu: '/sjtj' } } ] } ] export default routes