src/router/index.js
@@ -102,7 +102,21 @@ meta: { title: '个人中心', icon: 'user' } } ] } }, { path: '', component: Layout, redirect: '/process', hidden: true, children: [ { path: '/process', component: () => import('@/views/safetyReview/projectManage/process.vue'), name: 'Process', meta: { title: '项目管理', icon: 'dashboard', affix: true } } ] }, ] // 动态路由,基于用户权限动态去加载