From a7e8249ae69e66d796cefd32a67735f586f2c3de Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Sun, 21 Aug 2022 10:26:09 +0800 Subject: [PATCH] chore: update --- src/components/ReSeamlessScroll/src/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/ReSeamlessScroll/src/index.vue b/src/components/ReSeamlessScroll/src/index.vue index a9ca45250..0b40557f0 100644 --- a/src/components/ReSeamlessScroll/src/index.vue +++ b/src/components/ReSeamlessScroll/src/index.vue @@ -454,7 +454,6 @@ function scrollStopMove() { // 鼠标滚轮事件 function wheel(e) { - e.preventDefault(); if ( unref(options).direction === "left" || unref(options).direction === "right" @@ -517,10 +516,10 @@ defineExpose({ :style="pos" @mouseenter="enter" @mouseleave="leave" - @touchstart="touchStart" - @touchmove="touchMove" + @touchstart.passive="touchStart" + @touchmove.passive="touchMove" @touchend="touchEnd" - @mousewheel="wheel" + @mousewheel.passive="wheel" >