From 65812087a9471523949f4e9bb3e7a3ac461b78e6 Mon Sep 17 00:00:00 2001 From: ketao4869 <54937496+ketao4869@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:18:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=20passive=20=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E7=9B=91=E5=90=AC=E5=99=A8=E4=BB=A5=E6=8F=90=E9=AB=98?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=BB=9A=E5=8A=A8=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 touchstart 和 touchmove 事件监听器设置为 passive,提升页面滚动时的响应速度 - 修复了控制台中出现的非 passive 事件监听器警告 --- .../wot-design-uni/components/wd-index-bar/wd-index-bar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uni_modules/wot-design-uni/components/wd-index-bar/wd-index-bar.vue b/src/uni_modules/wot-design-uni/components/wd-index-bar/wd-index-bar.vue index adfba448f..50a072c77 100644 --- a/src/uni_modules/wot-design-uni/components/wd-index-bar/wd-index-bar.vue +++ b/src/uni_modules/wot-design-uni/components/wd-index-bar/wd-index-bar.vue @@ -8,8 +8,8 @@