fix: 照明调整文件路径

This commit is contained in:
lushihan
2024-06-06 14:37:33 +08:00
parent 14a7c158bc
commit e7e2d52dff
3 changed files with 30 additions and 19 deletions

View File

@@ -0,0 +1,29 @@
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',
component: () => import('/@/view/equipmentControl/lightingManage/index.vue'),
meta: {
title: '部门/权限',
keepAlive: true,
// backApi: [],
},
},
],
},
],
};
export default equipmentControl;

View File

@@ -62,25 +62,7 @@ const organizationManage = {
},
],
},
{
path: 'lightManage',
name: 'LightManage',
meta: { title: '智能照明', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'lightManageIndex' },
children: [
{
path: 'index',
name: 'lightManageIndex',
component: () => import('/@/view/organizationManage/lightingManage/index.vue'),
meta: {
title: '部门/权限',
keepAlive: true,
// backApi: [],
},
},
],
},
],
};
export default organizationManage;