fix:mobile scroll to more

This commit is contained in:
jiangrui
2025-03-08 18:26:39 +08:00
parent 5987e1fb3e
commit 73440cca45
2 changed files with 3 additions and 2 deletions

View File

@@ -230,7 +230,7 @@ const doScroll = () => {
const appElement = document.querySelector("#app") as HTMLElement;
if (appElement) {
const { scrollHeight, scrollTop, clientHeight } = appElement;
if (scrollHeight - (clientHeight + scrollTop) <= 0) {
if (scrollHeight - (clientHeight + scrollTop) <= 1) {
throttledLoadMore(currentTab.value);
}
}