浏览代码

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

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

+ 4 - 0
src/bootstrap-table.js

@@ -2657,6 +2657,10 @@
     }
 
     getHiddenRows (show) {
+      if (show) {
+        this.hiddenRows = []
+        return
+      }
       const data = this.getData()
       const rows = []