Browse Source

fix for virtual-scroll undefined method call

fixes https://github.com/wenzhixin/bootstrap-table/issues/5997
Chaos 3 years ago
parent
commit
3a7a06b9f8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/constants/index.js

+ 3 - 0
src/constants/index.js

@@ -337,6 +337,9 @@ const DEFAULTS = {
   },
   },
   onTogglePagination (newState) {
   onTogglePagination (newState) {
     return false
     return false
+  },
+  onVirtualScroll (newState) {
+    return false
   }
   }
 }
 }