From a55f8249ae3affb4ccc4b0773175dd6e1f38892a Mon Sep 17 00:00:00 2001 From: yuantao Date: Thu, 16 Oct 2025 10:50:22 +0800 Subject: [PATCH] =?UTF-8?q?\"fix:=20=E4=BF=AE=E5=A4=8DsetTimeout=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1=E5=BC=95=E7=94=A8=E9=97=AE=E9=A2=98\"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/RichTextEditor.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/RichTextEditor.vue b/src/components/RichTextEditor.vue index d7653c7..b525e53 100644 --- a/src/components/RichTextEditor.vue +++ b/src/components/RichTextEditor.vue @@ -1097,10 +1097,10 @@ const handleTouchStart = (e) => { if (navigator.vibrate) { navigator.vibrate(10) } - - // 阻止页面滚动 - e.preventDefault() }, 300) // 300毫秒长按触发拖拽 + + // 阻止页面滚动 + e.preventDefault() } // 处理触摸移动事件