// 碳足迹计算 import type { Route } from '@/global' const Layout = () => import('@/layouts/index.vue') const routes: Route.recordRaw[] = [ { path: '/carbonCount', component: Layout, redirect: '/carbonCount/electriccount', name: 'Dcount', meta: { title: '碳足迹计算', icon: 'ep:key', auth: '/count', }, children: [ // { // path: 'count', // name: 'Count', // component: () => import('@/views/count/index.vue'), // meta: { // title: '碳足迹计算', // auth: '/count', // sidebar: false, // breadcrumb: true, // activeMenu: '/carbonCount', // }, // }, { path: 'electriccount', name: 'Electriccount', component: () => import('@/views/count/electric.vue'), meta: { title: '电力碳核算', auth: '/count/electric', // sidebar: false, // breadcrumb: true, activeMenu: '/carbonCount', }, }, // { // path: 'heatingcount', // name: 'Heatingcount', // component: () => import('@/views/count/heating.vue'), // meta: { // title: '热力碳核算', // auth: '/count/heating', // // sidebar: false, // // breadcrumb: true, // activeMenu: '/carbonCount', // }, // }, // { // path: 'gascount', // name: 'Gascount', // component: () => import('@/views/count/gas.vue'), // meta: { // title: '燃气碳核算', // auth: '/count/gas', // // sidebar: false, // // breadcrumb: true, // activeMenu: '/carbonCount', // }, // }, ], }, ] export default routes