| | |
| | | hidden: true |
| | | }, |
| | | |
| | | { |
| | | path: '/chapters', |
| | | component: Layout, |
| | | redirect: '/chapters', |
| | | children: [ |
| | | { |
| | | path: '/chapters', |
| | | component: () => import('@/views/onlineEducation/courseManage/courseChapters/index.vue'), |
| | | name: 'Chapters', |
| | | } |
| | | ] |
| | | }, |
| | | // { |
| | | // path: '', |
| | | // component: Layout, |
| | |
| | | ] |
| | | }, |
| | | { |
| | | path: '/course', |
| | | path: '/onlineEducation', |
| | | component: Layout, |
| | | redirect: '/course', |
| | | redirect: '/onlineEducation/courseManage', |
| | | meta: { title: '课程管理'}, |
| | | children: [ |
| | | { |
| | | path: '/course', |
| | | path: 'course', |
| | | component: () => import('@/views/onlineEducation/courseManage/index.vue'), |
| | | name: 'course', |
| | | meta: { title: '课程管理',icon: 'form', affix: true } |
| | | } |
| | | meta: { title: '课程列表',icon: 'form', affix: true } |
| | | }, |
| | | { |
| | | path: 'courseResource', |
| | | component: () => import('@/views/onlineEducation/courseManage/courseResource/index.vue'), |
| | | name: 'courseResource', |
| | | meta: { title: '课程资源',icon: 'form', affix: true } |
| | | }, |
| | | ] |
| | | }, |
| | | { |