src/router/index.js
@@ -27,6 +27,19 @@ // 公共路由 export const constantRoutes = [ { path: '/', component: Layout, redirect: '/menuIndex', children: [ { path: 'menuIndex', component: () => import('@/views/work/menuIndex/index'), name: 'MenuIndex', meta: { title: '首页', icon: 'build', affix: true } } ] }, { path: '/redirect', component: Layout, hidden: true, @@ -58,6 +71,11 @@ hidden: true }, { path: '/menuPage', component: () => import('@/views/menuPage'), hidden: true }, { path: '/courseManage', component: Layout, redirect: '/onlineEducation/courseManage',