Browse Source

权限控制

luolei 4 years ago
parent
commit
812262df13
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/js/roleManager.js

+ 3 - 1
src/js/roleManager.js

@@ -194,7 +194,9 @@ $(function(){
                         if(num == tmpPer.length&&tmpPer.length>0){//内层全部都取消了,父级取消选中
                         if(num == tmpPer.length&&tmpPer.length>0){//内层全部都取消了,父级取消选中
                             tmpDataLis[i].haveMenu = '0'
                             tmpDataLis[i].haveMenu = '0'
                         }else{
                         }else{
-                            tmpDataLis[i].haveMenu = '1'
+                            // if(menuId&&menuId == tmpDataLis[i].menuId){
+                            //     tmpDataLis[i].haveMenu = '1'
+                            // }
                         }
                         }
                     }
                     }
                 }
                 }