下拉刷新

This commit is contained in:
iizmg
2020-05-25 09:57:08 +08:00
parent 20b3cbdc9f
commit 99a0ae3252
+1 -1
View File
@@ -248,7 +248,7 @@
let move = e.targetTouches[0].clientY - this.startY;
if (move > 0) {
e.preventDefault();
this.moveDistance = Math.pow(move, 0.7);
this.moveDistance = Math.pow(move, 0.8);
if (this.moveDistance > 50) {
if (this.moveState === 1) return;
this.moveState = 1;