const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue'); const equipment = { path: '/carbonEmissionManage', name: 'CarbonEmissionManage', meta: { title: '碳排管理', icon: 'shebeiguanli', index: 1 }, redirect: { name: 'CarbonEmissionStatistics' }, children: [ { path: 'carbonEmissionStatistics', name: 'CarbonEmissionStatistics', meta: { title: '碳排统计', hideChildren: true, icon: 'shebeiguanli' }, component: Base, redirect: { name: 'CarbonEmissionStatisticsIndex' }, children: [ { path: 'index', name: 'CarbonEmissionStatisticsIndex', // component: () => import('/nerv-lib/saas/view/menuManage/index.vue'), component: () => import('/@/view/carbonEmissionManage/carbonEmissionStatistics/index.vue'), meta: { title: '碳排统计', keepAlive: true, // backApi: [], }, }, ], }, { path: 'carbonEmissionFactorLibrary', name: 'CarbonEmissionFactorLibrary', meta: { title: '碳排因子库', hideChildren: true, icon: 'shebeiguanli' }, component: Base, redirect: { name: 'CarbonEmissionFactorLibraryIndex' }, children: [ { path: 'index', name: 'CarbonEmissionFactorLibraryIndex', // component: () => import('/nerv-lib/saas/view/menuManage/index.vue'), component: () => import('/@/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue'), meta: { title: '碳排因子库', keepAlive: true, // backApi: [], }, }, ], }, ], }; export default equipment;