src/router/index.js
@@ -44,7 +44,7 @@ }, { path: "/:pathMatch(.*)*", component: () => import('@/views/error/404'), component: () => import('@/views/homePage'), hidden: true }, { @@ -67,6 +67,18 @@ // ] // }, { path: '/newPage', component: Layout, redirect: '/newPage', children: [ { path: '/newPage', component: () => import('@/views/onlineEducation/systemManage/banner/components/newPage.vue'), name: 'NewPage', } ] }, { path: '/course', component: Layout, redirect: '/course',