liuhj před 7 měsíci
rodič
revize
4a24ae1d65
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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()
             }