Skip to content

Commit c304ada

Browse files
committed
Merge branch 'v1'
2 parents 3792abf + 75ceaa7 commit c304ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-virtual-scroller/src/components/RecycleScroller.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ export default {
362362
363363
updateVisibleItems (checkItem, checkPositionDiff = false) {
364364
const itemSize = this.itemSize
365-
const gridItems = this.gridItems
365+
const gridItems = this.gridItems || 1
366366
const itemSecondarySize = this.itemSecondarySize || itemSize
367367
const minItemSize = this.$_computedMinItemSize
368368
const typeField = this.typeField

0 commit comments

Comments
 (0)