修改几个问题

This commit is contained in:
A1300399510
2025-02-25 19:18:25 +08:00
parent 6e511ab2ef
commit 68706050a0
10 changed files with 53 additions and 20 deletions

View File

@@ -91,6 +91,7 @@ onMounted(() => {
onUnmounted(() => {
window.removeEventListener("scroll", handleScroll)
window.removeEventListener("scroll", getMoreScroll, true)
})
let loading = null // 加载
@@ -179,7 +180,6 @@ let moreLoading = ref(false)
// 加载更多数据列表
const getMoreList = () => {
if (morePage.value == 0 || moreLoading.value) return
console.log("11111")
moreLoading.value = true
let postData = {
page: morePage.value,