From 9f64cdfa9f8b868b9cdc60431562eeaecc3c3990 Mon Sep 17 00:00:00 2001 From: AllenFang Date: Mon, 2 Oct 2017 21:01:47 +0800 Subject: [PATCH] fix #1655 --- src/BootstrapTable.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/BootstrapTable.js b/src/BootstrapTable.js index 042d01545..7a92626d1 100644 --- a/src/BootstrapTable.js +++ b/src/BootstrapTable.js @@ -1010,8 +1010,10 @@ class BootstrapTable extends Component { this.store.setSelectedRowKey([]); // clear selected row key - if (this.allowRemote(Const.REMOTE_DROP_ROW) && afterDeleteRow) { - afterDeleteRow(dropRowKeys, dropRow); + if (this.allowRemote(Const.REMOTE_DROP_ROW)) { + if (afterDeleteRow) { + afterDeleteRow(dropRowKeys, dropRow); + } return; }