feat: 分组切换

This commit is contained in:
xuziqiang
2024-06-27 15:21:14 +08:00
parent 7c64a6b231
commit 8f25d2293c
4 changed files with 226 additions and 73 deletions

View File

@@ -44,25 +44,25 @@ const equipment = {
},
],
},
{
path: 'energyMapping',
name: 'EnergyMapping',
meta: { title: '能耗映射', hideChildren: true, icon: 'shebeiguanli' },
component: Base,
redirect: { name: 'EnergyMappingIndex' },
children: [
{
path: 'index',
name: 'EnergyMappingIndex',
component: () => import('/@/view/equipmentManage/energyMapping/index.vue'),
meta: {
title: '能耗映射',
keepAlive: true,
// backApi: [],
},
},
],
},
// {
// path: 'energyMapping',
// name: 'EnergyMapping',
// meta: { title: '能耗映射', hideChildren: true, icon: 'shebeiguanli' },
// component: Base,
// redirect: { name: 'EnergyMappingIndex' },
// children: [
// {
// path: 'index',
// name: 'EnergyMappingIndex',
// component: () => import('/@/view/equipmentManage/energyMapping/index.vue'),
// meta: {
// title: '能耗映射',
// keepAlive: true,
// // backApi: [],
// },
// },
// ],
// },
],
};
export default equipment;