修改组件
This commit is contained in:
@@ -340,6 +340,9 @@
|
||||
onChange: (selectedRowKeys: never[], selectedRows: never[]) => {
|
||||
tableState.selectedRowKeys = selectedRowKeys;
|
||||
tableState.selectedRows = selectedRows;
|
||||
if ('radio' === rowSelection.type) {
|
||||
rowSelection.selectedRowKeys = selectedRowKeys;
|
||||
}
|
||||
},
|
||||
},
|
||||
isFunction(rowSelection) ? rowSelection(tableState) : rowSelection,
|
||||
|
Reference in New Issue
Block a user