Skip to content

Commit

Permalink
fix: 修改请求缓冲距离
Browse files Browse the repository at this point in the history
  • Loading branch information
wu529778790 committed Jun 8, 2024
1 parent 480dadb commit 6292e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/views/index/components/VitualList/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const onScroll = (e) => {
startOffset.value = scrollTop - (scrollTop % props.itemHeight);
// 如果滚动到底部
if (
props.buffer * props.itemHeight >=
props.buffer * props.itemHeight * 2 >=
scrollHeight - (scrollTop + clientHeight) &&
!hasFired.value
) {
Expand Down

0 comments on commit 6292e52

Please sign in to comment.