Skip to content

Commit 9f64cdf

Browse files
committed
fix #1655
1 parent a04886c commit 9f64cdf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/BootstrapTable.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1010,8 +1010,10 @@ class BootstrapTable extends Component {
10101010

10111011
this.store.setSelectedRowKey([]); // clear selected row key
10121012

1013-
if (this.allowRemote(Const.REMOTE_DROP_ROW) && afterDeleteRow) {
1014-
afterDeleteRow(dropRowKeys, dropRow);
1013+
if (this.allowRemote(Const.REMOTE_DROP_ROW)) {
1014+
if (afterDeleteRow) {
1015+
afterDeleteRow(dropRowKeys, dropRow);
1016+
}
10151017
return;
10161018
}
10171019

0 commit comments

Comments
 (0)