From caebcfc31e3c8f1db709437ecbd892130a6dace7 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Mon, 1 Apr 2024 17:04:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E9=95=BF=E5=88=97=E8=A1=A8iOS=20app=E7=AB=AFbounce?= =?UTF-8?q?=E6=9C=9F=E9=97=B4=E5=8D=A1=E9=A1=BF=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/template/custom-long-list/custom-list-view.uvue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/template/custom-long-list/custom-list-view.uvue b/pages/template/custom-long-list/custom-list-view.uvue index 53bc3a31..e96098a3 100644 --- a/pages/template/custom-long-list/custom-list-view.uvue +++ b/pages/template/custom-long-list/custom-list-view.uvue @@ -83,7 +83,10 @@ return } const scrollTop = e.detail.scrollTop - this.lastScrollTop = 0 + if(scrollTop === this.lastScrollTop || scrollTop < 0) { + return + } + this.lastScrollTop = scrollTop if (scrollTop < this.offsetThreshold[1] || scrollTop > this.offsetThreshold[2]) { this.queue(scrollTop) } -- GitLab