lilei 2 years ago
parent
commit
96c457c905
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/config/router.config.js

+ 6 - 6
src/config/router.config.js

@@ -2323,8 +2323,8 @@ export const asyncRouterMap = [
         component: PageView,
         meta: {
           title: '产品返利表',
-          icon: 'profile'
-          // permission: 'M_productRebateReport'
+          icon: 'profile',
+          permission: 'M_productRebateReport'
         },
         children: [
           {
@@ -2334,8 +2334,8 @@ export const asyncRouterMap = [
             component: BlankLayout,
             meta: {
               title: '产品返利明细表',
-              icon: 'profile'
-              // permission: 'M_productRebateReportList'
+              icon: 'profile',
+              permission: 'M_productRebateReportList'
             },
             hideChildrenInMenu: true,
             children: [
@@ -2346,8 +2346,8 @@ export const asyncRouterMap = [
                 meta: {
                   title: '产品返利明细表',
                   icon: 'profile',
-                  hidden: true
-                  // permission: 'M_productRebateReportList'
+                  hidden: true,
+                  permission: 'M_productRebateReportList'
                 }
               }
             ]