liushengqiang 2 years ago
parent
commit
aad971cc77
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/router/routes-common.ts
  2. 1 1
      src/views/courseList/index.tsx

+ 1 - 1
src/router/routes-common.ts

@@ -22,7 +22,7 @@ export const router: RouteRecordRaw[] = [
   {
     path: '/coursewarePlay',
     name: 'coursewarePlay',
-    component: () => import('@/views/coursewarePlay/play'),
+    component: () => import('@/views/coursewarePlay/index'),
     meta: {
       title: '课程播放'
     }

+ 1 - 1
src/views/courseList/index.tsx

@@ -97,7 +97,7 @@ export default defineComponent({
     // 去课件播放
     const gotoPlay = (item: any) => {
       router.push({
-        path: '/coursewarePlay',
+        path: '/play',
         query: {
           id: item.lessonCoursewareDetailId,
           source: 'my-course'