Browse Source

Merge pull request #6035 from ChaosEngine/ChaosEngine-patch-1

fix for virtual-scroll undefined default method call
文翼 3 years ago
parent
commit
dbe423b25f
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) {
     return false
+  },
+  onVirtualScroll (startIndex, endIndex) {
+    return false
   }
 }