Browse Source

Fixed reset width error after toggleFullscreen.

zhixin 7 years ago
parent
commit
cf5b5a31c4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/bootstrap-table.js

+ 1 - 0
src/bootstrap-table.js

@@ -2957,6 +2957,7 @@
 
     toggleFullscreen () {
       this.$el.closest('.bootstrap-table').toggleClass('fullscreen')
+      this.resetView()
     }
 
     refresh (params) {