lilei 3 년 전
부모
커밋
0dcd88bb3e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/storeManage/roleSetting/roleAuthSet.vue

+ 1 - 1
pages/storeManage/roleSetting/roleAuthSet.vue

@@ -55,7 +55,7 @@
 			         _this.findLeaf(_this.menuData.allMenuList, arr)
 					 _this.getIds(_this.authList,0)
 					 // 是否全选
-					 _this.checkedAll = arr.length == _this.authList.length
+					 _this.checkedAll = arr.length >= _this.authList.length
 			       }
 			    }
 				console.log(_this.menuData,'_this.menuData')