This commit is contained in:
A1300399510
2023-07-21 15:13:46 +08:00
parent d53616c347
commit 955d8cf3b3
5 changed files with 180 additions and 13 deletions

View File

@@ -288,7 +288,7 @@ const handleScroll = () => {
const scrollHeight = document.documentElement.scrollHeight;
const clientHeight = document.documentElement.clientHeight;
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
if (scrollTop + clientHeight >= scrollHeight) {
if (scrollTop + clientHeight >= scrollHeight - 350) {
if (tabState.value == 'publish') getPublishData()
else getFavData()
}