浏览代码

Fix fo #6402 introducing sortResetPage option

Marcel Overdijk 3 年之前
父节点
当前提交
0a447c750a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/bootstrap-table.js

+ 1 - 0
src/bootstrap-table.js

@@ -559,6 +559,7 @@ class BootstrapTable {
 
     if (this.options.pagination && this.options.sortResetPage) {
       this.options.pageNumber = 1
+      this.initPagination()
     }
 
     this.initSort()