liuhj 7 月之前
父节点
当前提交
3aac883ebb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/expenseMobile.vue

+ 1 - 1
src/components/expenseMobile.vue

@@ -257,7 +257,7 @@ export default {
             // console.log(clientHeight);
             this.a=scrollHeight-scrollTop;
             this.b=clientHeight;
-            if(scrollHeight-scrollTop<=clientHeight&&this.loadflag){
+            if(Math.abs(scrollHeight-clientHeight-scrollTop) < 1&&this.loadflag){
                 this.PageTurning()
             }
             // if (Math.floor(scrollTop + clientHeight) == scrollHeight&&this.loadflag) {