Skip to content

Commit 8944bb3

Browse files
committed
Fix wenzhixin#3318: group-by reinitialize bug
1 parent 78f1c32 commit 8944bb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extensions/group-by/bootstrap-table-group-by.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176

177177
originalRowAttr = this.options.rowAttributes;
178178
this.options.rowAttributes = rowAttr;
179-
this.$el.on('post-body.bs.table', function () {
179+
this.$el.off('post-body.bs.table').on('post-body.bs.table', function () {
180180
that.$el.treetable({
181181
expandable: true,
182182
onNodeExpand: function () {

0 commit comments

Comments
 (0)