zhaoke před 2 roky
rodič
revize
226db54155

+ 3 - 2
src/router/routes/routes-file-four.js

@@ -99,7 +99,7 @@ const roleRoutes = {
             }
           },
           redirect: '/',
-          meta: { title: '角色管理', isPage: 'role_page', keepAlive: false },
+          meta: { title: '角色管理', isPage: 'role_page', keepAlive: false, roles: ['role_page'] },
           children: [
             {
               path: '/',
@@ -158,7 +158,8 @@ const accountRoutes = {
           // },
           meta: {
             title: '账号管理',
-            keepAlive: false
+            keepAlive: false,
+            roles: ['account_page']
           },
           children: [
             {

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

@@ -24,7 +24,7 @@ const BasicsDataRoutes = {
           path: '/BasicsData/airlineCompanyInfo',
           name: 'airlineCompanyInfo',
           component: () => import('@/views/BasicsData/views/airlineCompany/airlineCompanyInfo'),
-          meta: { title: '航司信息维护', keepAlive: false },
+          meta: { title: '航司信息维护', keepAlive: false, roles: ['airline_information_page'] },
           hidden: true,
           src: require('@/assets/nav/ic_data_top_default @2x.png'),
           srcer: require('@/assets/nav/ic_data_top_check@2x.png')