lilei 2 年之前
父節點
當前提交
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')