浏览代码

rerender the table on save data (#4225)

Fixed editable rerender bug when saving data
Dustin U 6 年之前
父节点
当前提交
11510841a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/extensions/editable/bootstrap-table-editable.js

+ 1 - 1
src/extensions/editable/bootstrap-table-editable.js

@@ -121,7 +121,7 @@
           $this.data('value', submitValue)
           row[column.field] = submitValue
           this.trigger('editable-save', column.field, row, oldValue, $this)
-          this.resetFooter()
+          this.initBody()
         })
 
         $field.off('shown').on('shown', ({currentTarget}, editable) => {