首页监听
This commit is contained in:
@@ -295,6 +295,7 @@ const onPageSrcoll = (e) => {
|
||||
let clientHeight = body.clientHeight
|
||||
let offsetHeight = body.offsetHeight
|
||||
if (scrollTop + clientHeight === offsetHeight) {
|
||||
console.log(scrollTop + clientHeight,offsetHeight)
|
||||
if (loadMore.value) {
|
||||
loadMore.value = false
|
||||
pages.value += 1
|
||||
|
||||
Reference in New Issue
Block a user