Skip to content

Commit

Permalink
fix(advanced): virtual-waterfall vue props fix #14684
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Nov 1, 2023
1 parent 2f8c864 commit e9ddd32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export default defineComponent({
const [startIndex, stopIndex] = this._getRangeToRender(column)
for (let row = startIndex; row <= stopIndex; row++) {
const itemIndex = this.itemMap.getItemIndexByPosition(column, row)
if (itemIndex >= 0 && itemIndex < this.props.itemCount) {
if (itemIndex >= 0 && itemIndex < this.$props.itemCount) {
const times = this.itemMap.compareSizeByPosition(column, row) ? 3 : 0
getRectSizeSync(`#${this.preset.id}-${itemIndex}`, 100, times).then(({ height }) => {
if (typeof height === 'number' && height > 0 && !this.itemMap.compareSizeByPosition(column, row, height)) {
Expand Down

0 comments on commit e9ddd32

Please sign in to comment.