|
@ -340,6 +340,9 @@ |
|
|
onChange: (selectedRowKeys: never[], selectedRows: never[]) => { |
|
|
onChange: (selectedRowKeys: never[], selectedRows: never[]) => { |
|
|
tableState.selectedRowKeys = selectedRowKeys; |
|
|
tableState.selectedRowKeys = selectedRowKeys; |
|
|
tableState.selectedRows = selectedRows; |
|
|
tableState.selectedRows = selectedRows; |
|
|
|
|
|
if ('radio' === rowSelection.type) { |
|
|
|
|
|
rowSelection.selectedRowKeys = selectedRowKeys; |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
isFunction(rowSelection) ? rowSelection(tableState) : rowSelection, |
|
|
isFunction(rowSelection) ? rowSelection(tableState) : rowSelection, |
|
|