feat 后台管理动态路由
This commit is contained in:
@@ -155,12 +155,13 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|||||||
path: '',
|
path: '',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
redirect: '/index',
|
redirect: '/index',
|
||||||
|
hidden: true,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '/index',
|
path: 'index',
|
||||||
component: () => import('@/views/index.vue'),
|
component: () => import('@/views/equipmentList/list.vue'),
|
||||||
name: 'Index',
|
name: 'EquipmentList',
|
||||||
meta: { title: '首页', icon: 'dashboard', affix: true }
|
meta: { title: '设备列表', icon: 'equipment', affix: true }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user