Parcourir la source

fix: the schedule can not be edited

Casper Dai il y a 3 ans
Parent
commit
1ccd338634
1 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 8 1
      src/router/index.js

+ 8 - 1
src/router/index.js

@@ -115,7 +115,7 @@ export const asyncRoutes = [
             meta: { cache: 'ScheduleList' },
             props: {
               type: ScheduleType.COMPLEX,
-              design: 'schedule-design'
+              redirect: 'schedule-design'
             }
           },
           {
@@ -317,6 +317,13 @@ export const asyncRoutes = [
     path: '/view/:id',
     component: () => import('@/views/bigscreen/viewer/index')
   },
+  // {
+  //   hidden: true,
+  //   name: 'program',
+  //   path: '/cm/program/:id',
+  //   component: () => import('@/views/bigscreen/ast/index'),
+  //   props: true
+  // },
   // 404 page must be placed at the end !!!
   { hidden: true, path: '*', redirect: '/' }
 ]