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