标题全选问题解决
This commit is contained in:
parent
aaa63aff05
commit
7d74213895
|
@ -63,6 +63,7 @@ export default function multiSelect(Table, Checkbox) {
|
|||
*/
|
||||
setChecked(data){
|
||||
if(!this.isArray(data))return false;
|
||||
if(data.length == 0)return false;
|
||||
let count = 0;
|
||||
data.forEach(da=>{
|
||||
if(da._checked){
|
||||
|
@ -181,7 +182,7 @@ export default function multiSelect(Table, Checkbox) {
|
|||
checked={record._checked}
|
||||
onClick={this.handleClick}
|
||||
onChange={this.onCheckboxChange(text, record, index)}
|
||||
></Checkbox>
|
||||
/>
|
||||
}
|
||||
}]
|
||||
return _defaultColumns.concat(columns);
|
||||
|
|
Loading…
Reference in New Issue