Browse Source

Merge branch 'develop_yh21' of http://git.chelingzhu.com/jianguan-web/qpls-md-html into develop_yh21

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

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

@@ -3225,8 +3225,8 @@ export const asyncRouterMap = [
         component: PageView,
         component: PageView,
         meta: {
         meta: {
           title: '促销管理',
           title: '促销管理',
-          icon: 'contacts'
-          // permission: 'M_promotionInfoList'
+          icon: 'contacts',
+          permission: 'M_promotionInfo'
         },
         },
         children: [
         children: [
           {
           {
@@ -3236,8 +3236,8 @@ export const asyncRouterMap = [
             component: BlankLayout,
             component: BlankLayout,
             meta: {
             meta: {
               title: '促销活动',
               title: '促销活动',
-              icon: 'contacts'
-              // permission: 'M_promotionInfoList'
+              icon: 'contacts',
+              permission: 'M_promotionInfoList'
             },
             },
             hideChildrenInMenu: true,
             hideChildrenInMenu: true,
             children: [
             children: [
@@ -3248,8 +3248,8 @@ export const asyncRouterMap = [
                 meta: {
                 meta: {
                   title: '促销活动列表',
                   title: '促销活动列表',
                   icon: 'contacts',
                   icon: 'contacts',
-                  hidden: true
-                  // permission: 'M_promotionInfoList'
+                  hidden: true,
+                  permission: 'M_promotionInfoList'
                 }
                 }
               }
               }
             ]
             ]