From a1b3fe7fb0373c9efa62bdda0d26aec98fe2491b Mon Sep 17 00:00:00 2001 From: yuantao Date: Thu, 16 Oct 2025 10:49:23 +0800 Subject: [PATCH] =?UTF-8?q?\"fix:=20=E4=BF=AE=E5=A4=8DhandleTouchStart?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84=E9=87=8D=E5=A4=8D=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=92=8C=E4=BA=8B=E4=BB=B6=E5=A4=84=E7=90=86=E9=97=AE?= =?UTF-8?q?=E9=A2=98\"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/RichTextEditor.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/RichTextEditor.vue b/src/components/RichTextEditor.vue index e4aea1c..d7653c7 100644 --- a/src/components/RichTextEditor.vue +++ b/src/components/RichTextEditor.vue @@ -1059,10 +1059,11 @@ const handleTouchStart = (e) => { if (navigator.vibrate) { navigator.vibrate(10) } - - // 阻止页面滚动 - e.preventDefault() }, 300) // 300毫秒长按触发拖拽 + + // 阻止页面滚动 + e.preventDefault() +} } // 添加拖拽指示器