Files
SaaS-lib/hx-ai-intelligent/src/router/equipmentControl.ts

30 lines
853 B
TypeScript
Raw Normal View History

2024-06-06 14:37:33 +08:00
const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const equipmentControl = {
path: '/equipmentControl',
name: 'EquipmentControl',
meta: { title: '设备群控', icon: 'dicizhishou', index: 4 },
redirect: { name: 'homeIndex' },
children: [
{
path: 'lightManage',
name: 'LightManage',
meta: { title: '智能照明', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'lightManageIndex' },
children: [
{
path: 'index',
name: 'lightManageIndex',
2024-06-06 16:49:24 +08:00
component: () => import('/@/view/equipmentControl/lightingManage/indexs.vue'),
2024-06-06 14:37:33 +08:00
meta: {
2024-06-06 16:49:24 +08:00
title: '智能照明',
2024-06-06 14:37:33 +08:00
keepAlive: true,
// backApi: [],
},
},
],
},
],
};
export default equipmentControl;