gaoluyang
2025-04-16 1ea1ad2c56e95e71e1756cfca73e7183f9795ac9
src/components/index/scroll-paging.vue
@@ -34,7 +34,6 @@
      deep:true,
      handler(){
        this.isLoding = false
        console.log(this.isLoding)
      }
    }
  },
@@ -55,9 +54,7 @@
    onScroll(){},
    scrollFn() {
      let content = this.$refs.content
      // console.log(22222,content.scrollTop + content.clientHeight+1,content.scrollHeight)
      if (content.scrollTop + content.clientHeight+2 >= content.scrollHeight) {
        // console.log(1111,this.finishLoding)
        if(!this.finishLoding){
          this.loadMore()
        }else{
@@ -66,7 +63,6 @@
      }
    },
    loadMore(){
      console.log('滚动了',this.isLoding)
      if (this.isLoding) return
      this.isLoding = true
      setTimeout(() => {