liyongli 1 жил өмнө
parent
commit
609f6061ea

+ 0 - 4
src/view/schedule/index.vue

@@ -179,7 +179,6 @@ const touchend = e => {
   //  cha > 0    向上滑动手指
   //  cha < 0    向下滑动手指
   //  初始位置滚动为0的,则判断距离25即可
-  console.log(cha);
   // 距离足够则滑动到下一页;
   let n = cha > 0 ? 1 : -1;
   let dn = n + page.value;
@@ -197,9 +196,6 @@ const touchend = e => {
 
 const touchmove = e => {
   const cha = startY - e.changedTouches[0].clientY;
-  const sondiv = getinnerele().offsetHeight;
-  let h = main.value.offsetHeight + main.value.scrollTop;
-  if (sondiv - h <= 5) e.preventDefault();
   if (main.value.scrollTop <= 1 && cha < 0) e.preventDefault();
 };