Browse Source

合并记录权限

chenrui 2 years ago
parent
commit
26a27e91d9
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/config/router.config.js

+ 5 - 4
src/config/router.config.js

@@ -2716,7 +2716,7 @@ export const asyncRouterMap = [
                 }
                 }
               }
               }
             ]
             ]
-          },
+          }
         ]
         ]
       },
       },
       // 客户管理
       // 客户管理
@@ -2784,8 +2784,8 @@ export const asyncRouterMap = [
             component: BlankLayout,
             component: BlankLayout,
             meta: {
             meta: {
               title: '客户合并记录',
               title: '客户合并记录',
-              icon: 'profile'
-              // permission: 'M_customerMergeList'
+              icon: 'profile',
+              permission: 'M_customerMergeList'
             },
             },
             hideChildrenInMenu: true,
             hideChildrenInMenu: true,
             children: [
             children: [
@@ -2796,7 +2796,8 @@ export const asyncRouterMap = [
                 meta: {
                 meta: {
                   title: '客户合并记录',
                   title: '客户合并记录',
                   icon: 'profile',
                   icon: 'profile',
-                  hidden: true
+                  hidden: true,
+                  permission: 'M_customerMergeList'
                 }
                 }
               }
               }
             ]
             ]