liuhj 7 månader sedan
förälder
incheckning
4a24ae1d65
1 ändrade filer med 2 tillägg och 2 borttagningar
  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()
             }