zhouwx
2024-07-05 c293e8f2c2c8f1eae95b0255a8745456963511d2
src/router/index.js
@@ -44,7 +44,7 @@
  },
  {
    path: "/:pathMatch(.*)*",
    component: () => import('@/views/error/404'),
    component: () => import('@/views/homePage'),
    hidden: true
  },
  {
@@ -53,6 +53,18 @@
    hidden: true
  },
  {
    path: '/chapters',
    component: Layout,
    redirect: '/chapters',
    children: [
      {
        path: '/chapters',
        component: () => import('@/views/onlineEducation/courseManage/courseChapters/index.vue'),
        name: 'Chapters',
      }
    ]
  },
  // {
  //   path: '',
  //   component: Layout,
@@ -67,16 +79,35 @@
  //   ]
  // },
  {
    path: '/course',
    path: '/newPage',
    component: Layout,
    redirect: '/course',
    redirect: '/newPage',
    children: [
      {
        path: '/course',
        path: '/newPage',
        component: () => import('@/views/onlineEducation/systemManage/banner/components/newPage.vue'),
        name: 'NewPage',
      }
    ]
  },
  {
    path: '/onlineEducation',
    component: Layout,
    redirect: '/onlineEducation/courseManage',
    meta: { title: '课程管理'},
    children: [
      {
        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 }
      },
    ]
  },
  {