src/router/index.js
@@ -100,7 +100,26 @@ meta: { title: '处理待办' } } ] } }, { path: '/project', component: Layout, children: [ { path: '/plan/index', component: () => import('@/views/project/plan/index'), name: 'Index', meta: { title: '项目计划' } }, /** 项目计划记录 */ { path: '/plan/planRecord', component: () => import('@/views/project/plan/planRecord'), name: 'PlanRecord', meta: { title: '项目计划记录' } } ] }, ] // 动态路由,基于用户权限动态去加载