【修复】使用整行选择时,外部selectedRowKeys没变化问题

pull/187/head
lingsoul 2023-12-19 09:58:28 +08:00
parent 56d9c3ff36
commit 00e508f3c8
1 changed files with 2 additions and 0 deletions

View File

@ -515,6 +515,8 @@
selectedRowKeys.splice(index, 1)
}
this.updateSelect(selectedRowKeys, selectedRows)
typeof this.rowSelection.onChange !== 'undefined' &&
this.rowSelection.onChange(selectedRowKeys, selectedRows)
}
}
}