// 用热监测 import type { Route } from '@/global' const Layout = () => import('@/layouts/index.vue') const routes: Route.recordRaw[] = [ { path: '/gas', component: Layout, redirect: '/gas/gaslist', name: 'Gas', meta: { title: '用气监测', icon: 'ep:key', auth: '/consumption', }, children: [ { path: '/gaslist', component: Layout, redirect: '/gaslist/gaspage', name: 'GasList', meta: { title: '用气监测', icon: 'ep:key', auth: '/data/consumption', }, children: [ { path: 'gaspage', name: 'GasPage', component: () => import('@/views/data/consumption/index.vue'), meta: { title: '用气监测', auth: '/data/consumption', sidebar: false, breadcrumb: true, activeMenu: '/gas', }, }, ], }, ], }, ] export default routes