liuhj 7 miesięcy temu
rodzic
commit
3aac883ebb
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {