Parcourir la source

中转航站视图权限

zhongxiaoyu il y a 2 ans
Parent
commit
8298401366
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 5 2
      src/router/routes/routes-file-six.ts

+ 5 - 2
src/router/routes/routes-file-six.ts

@@ -168,9 +168,10 @@ const ActualTimeRoutes = {
       children: [
         {
           path: '/realTime/internationalDeparture',
+          redirect: '/realTime/internationalDeparture/airport',
           name: 'InternationalDepartureDirect',
           meta: {
-            title: '国际出港直航航站视图',
+            title: '国际出港航站视图-直航',
           },
           component: KeepAliveRouterView('InternationalDepartureDirect'),
           children: [
@@ -249,9 +250,11 @@ const ActualTimeRoutes = {
         },
         {
           path: '/realTime/internationalDepartureTransfer',
+          redirect: '/realTime/internationalDepartureTransfer/airport',
           name: 'InternationalDepartureTransfer',
           meta: {
-            title: '国际出港中转航站视图',
+            title: '国际出港航站视图-中转',
+            roles: ['view_of_international_transfer_terminal_page'],
           },
           component: KeepAliveRouterView('InternationalDepartureTransfer'),
           children: [