Browse Source

修改bug

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

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

@@ -3219,8 +3219,8 @@ export const asyncRouterMap = [
             component: BlankLayout,
             component: BlankLayout,
             meta: {
             meta: {
               title: '修理厂促销',
               title: '修理厂促销',
-              icon: 'file-ppt'
-              // permission: 'M_promotionManagementList'
+              icon: 'file-ppt',
+              permission: 'M_promotionManagementList'
             },
             },
             hideChildrenInMenu: true,
             hideChildrenInMenu: true,
             children: [
             children: [
@@ -3231,8 +3231,8 @@ export const asyncRouterMap = [
                 meta: {
                 meta: {
                   title: '促销列表',
                   title: '促销列表',
                   icon: 'file-ppt',
                   icon: 'file-ppt',
-                  hidden: true
-                  // permission: 'M_promotionManagementList'
+                  hidden: true,
+                  permission: 'M_promotionManagementList'
                 }
                 }
               }
               }
             ]
             ]