浏览代码

fix(js): fix #3653, fix #3655, getHiddenRows method bug

zhixin 7 年之前
父节点
当前提交
aff2cb07bd
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/bootstrap-table.js

+ 2 - 1
src/bootstrap-table.js

@@ -2658,7 +2658,8 @@
 
     getHiddenRows (show) {
       if (show) {
-        this.hiddenRows = []
+        this.initHiddenRows()
+        this.initBody(true)
         return
       }
       const data = this.getData()