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