liuhj 7 달 전
부모
커밋
4a24ae1d65
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/components/expenseMobile.vue

+ 2 - 2
src/components/expenseMobile.vue

@@ -255,8 +255,8 @@ export default {
             // console.log(document.getElementById("tshezi").getBoundingClientRect().top);
             // console.log(scrollTop);
             // console.log(clientHeight);
-            this.a=Math.floor(scrollTop + clientHeight);
-            this.b=scrollHeight;
+            this.a=scrollHeight-scrollTop;
+            this.b=clientHeight;
             if(scrollHeight-scrollTop<=clientHeight&&this.loadflag){
                 this.PageTurning()
             }