fix: 全选表格含有disabled状态并且是勾选状态bug

This commit is contained in:
izbz wh 2019-04-18 18:48:21 +08:00
parent d45c4cd966
commit 162dec5d37
3 changed files with 3 additions and 3 deletions

2
dist/demo.js vendored
View File

@ -170270,7 +170270,7 @@
var count = 0;
var disabledCount = 0;
data.forEach(function (da) {
if (da._checked) {
if (da._checked && !da._disabled) {
count++;
}
if (da._disabled) {

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -67,7 +67,7 @@ export default function multiSelect(Table, Checkbox) {
let count = 0;
let disabledCount = 0;
data.forEach(da=>{
if(da._checked){
if(da._checked && !da._disabled){
count ++;
}
if(da._disabled){