-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.7.2
Environment
Vue2.6.10
Reproduction link
Steps to reproduce
computed: {
rowSelection() {
const _this = this;
return {
onChange: (selectedRowKeys, selectedRows) => {
// this.rowSelection.selectedRowKeys = selectedRowKeys;
},
onSelect: (record, selected, selectedRows) => {
_this.submit(record.id, selected, "resourece");
_this.selectedRowKeys = selectedRows.map((item) => item.id);
},
onSelectAll: (selected, selectedRows, changeRows) => {
console.log(selected, selectedRows, changeRows);
},
selectedRowKeys: this.selectedRowKeys,
getCheckboxProps: (record) => ({
props: {
indeterminate: record.id === "1514871721679704066",
},
}),
};
},
},
What is expected?
indeterminate: true work
What is actually happening?
indeterminate: true not work