ソースを参照

调整角色菜单权限

梁展鹏 3 年 前
コミット
b057451ec0
1 ファイル変更4 行追加4 行削除
  1. 4 4
      src/router/index.js

+ 4 - 4
src/router/index.js

@@ -137,7 +137,7 @@ export const asyncRoutes = [
         meta: {
           title: '摄影师',
           // icon: 'tree',
-          roles: ['admin']
+          roles: ['admin', 'photoer', 'photoer_management']
         }
       }
     ]
@@ -151,7 +151,7 @@ export const asyncRoutes = [
     meta: {
       title: '图片库管理',
       icon: 'el-icon-s-help',
-      roles: ['admin']
+      roles: ['admin', 'photoer_management']
     },
     children: [
       {
@@ -197,7 +197,7 @@ export const asyncRoutes = [
     meta: {
       title: '认证管理',
       icon: 'el-icon-s-help',
-      roles: ['admin']
+      roles: ['admin', 'photoer_management']
     },
     children: [
       {
@@ -345,7 +345,7 @@ export const asyncRoutes = [
     meta: {
       title: '基础管理',
       icon: 'el-icon-s-help',
-      roles: ['admin', 'operate']
+      roles: ['admin', 'operate', 'designer']
     },
     children: [
       {