Browse Source

运营角色,增加积分明细权限

梁展鹏 3 năm trước cách đây
mục cha
commit
c2d2711465
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/router/index.js

+ 2 - 2
src/router/index.js

@@ -321,7 +321,7 @@ export const asyncRoutes = [
     meta: {
       title: '积分管理',
       icon: 'el-icon-s-help',
-      roles: ['admin']
+      roles: ['admin', 'operate']
     },
     children: [
       {
@@ -331,7 +331,7 @@ export const asyncRoutes = [
         meta: {
           title: '积分明细',
           // icon: 'table',
-          roles: ['admin']
+          roles: ['admin', 'operate']
         }
       }
     ]