Skip to content

Commit 4666523

Browse files
committed
1 parent eeba249 commit 4666523

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/BootstrapTable.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,9 @@ class BootstrapTable extends Component {
404404

405405
if (typeof result == 'undefined' || result !== false) {
406406
if (isSelected) {
407-
selectedRowKeys = this.store.getAllRowkey();
407+
selectedRowKeys = Array.isArray(result) ?
408+
result :
409+
this.store.getAllRowkey();
408410
}
409411

410412
this.store.setSelectedRowKey(selectedRowKeys);

0 commit comments

Comments
 (0)