Bladeren bron

修改显示

zhaoke 2 jaren geleden
bovenliggende
commit
4880b8e2d4
2 gewijzigde bestanden met toevoegingen van 6 en 9 verwijderingen
  1. 1 1
      src/router/routes/routes-file-one.js
  2. 5 8
      src/router/routes/routes-file-six.js

+ 1 - 1
src/router/routes/routes-file-one.js

@@ -197,6 +197,6 @@ const departureRoutesC = {
 
 
 export default [
-  departureRoutesC,
+  // departureRoutesC,
   BasicsDataRoutes
 ]

+ 5 - 8
src/router/routes/routes-file-six.js

@@ -25,7 +25,7 @@ const statisticsChartsRoutes = {
           name: 'AirlineCompanyStatistics',
           hidden: true,
           component: {
-            render(h) {
+            render (h) {
               return h('router-view')
             }
           },
@@ -102,7 +102,7 @@ const statisticsChartsRoutes = {
           name: 'PassengerStatistics',
           hidden: true,
           component: {
-            render(h) {
+            render (h) {
               return h('router-view')
             }
           },
@@ -170,7 +170,7 @@ const statisticsChartsRoutes = {
           name: 'FlightClassificationStatistics',
           hidden: true,
           component: {
-            render(h) {
+            render (h) {
               return h('router-view')
             }
           },
@@ -214,7 +214,7 @@ const statisticsChartsRoutes = {
           name: 'Report',
           hidden: true,
           component: {
-            render(h) {
+            render (h) {
               return h('router-view')
             }
           },
@@ -241,7 +241,7 @@ const statisticsChartsRoutes = {
           name: 'SpecialStatistics',
           hidden: true,
           component: {
-            render(h) {
+            render (h) {
               return h('router-view')
             }
           },
@@ -288,9 +288,6 @@ const statisticsChartsRoutes = {
 const statisticalAnalysis = {
   path: '/statisticalAnalysis',
   component: Layout,
-  meta: {
-    roles: ['demo']
-  },
   children: [
     {
       path: '/statisticalAnalysis',