Procházet zdrojové kódy

运营角色,增加两个菜单权限

梁展鹏 před 3 roky
rodič
revize
329421eafb
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      src/router/index.js

+ 3 - 3
src/router/index.js

@@ -187,7 +187,7 @@ export const asyncRoutes = [
     meta: {
       title: '认证管理',
       icon: 'el-icon-s-help',
-      roles: ['admin', 'photoer_management', 'business']
+      roles: ['admin', 'operate', 'photoer_management', 'business']
     },
     children: [
       {
@@ -208,7 +208,7 @@ export const asyncRoutes = [
         meta: {
           title: '场景审核',
           // icon: 'tree',
-          roles: ['admin', 'business']
+          roles: ['admin', 'operate', 'business']
         }
       },
       {
@@ -218,7 +218,7 @@ export const asyncRoutes = [
         meta: {
           title: '场景列表',
           // icon: 'table',
-          roles: ['admin', 'business']
+          roles: ['admin', 'operate', 'business']
         }
       }
     ]