This commit is contained in:
afc163 2017-10-21 20:06:12 +08:00
parent 7286e6d0d0
commit 86da4a95ce

View File

@ -537,7 +537,7 @@ export default class Table<T> extends React.Component<TableProps<T>, any> {
changeableRowKeys.forEach(key => {
if (selectedRowKeys.indexOf(key) < 0) {
selectedRowKeys.push(key);
}else {
} else {
selectedRowKeys.splice(selectedRowKeys.indexOf(key), 1);
}
changeRowKeys.push(key);