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