Browse Source

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

zhixin 7 years ago
parent
commit
d84a03b933
1 changed files with 4 additions and 0 deletions
  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 = []