Browse Source

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

zhixin 7 years ago
parent
commit
aff2cb07bd
1 changed files with 2 additions and 1 deletions
  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()