mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
Fix lint
This commit is contained in:
parent
7286e6d0d0
commit
86da4a95ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user