From 1ca85f27099c55805b7c9a08e6d5f343073fb334 Mon Sep 17 00:00:00 2001 From: yuantao Date: Thu, 16 Oct 2025 10:31:12 +0800 Subject: [PATCH] =?UTF-8?q?\"fix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E5=8A=9F=E8=83=BD=EF=BC=8C=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=98=88=E5=80=BC=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?\"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/RichTextEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/RichTextEditor.vue b/src/components/RichTextEditor.vue index 5411fd7..d89b6c6 100644 --- a/src/components/RichTextEditor.vue +++ b/src/components/RichTextEditor.vue @@ -1090,7 +1090,7 @@ const checkAndSwapImages = (draggedImg, deltaY) => { // 检查是否与目标图片重叠,使用更精确的碰撞检测 // 当拖拽图片覆盖目标图片高度的三分之二时触发排序 - const overlapThreshold = targetRect.height * 0.01 + const overlapThreshold = targetRect.height * 0.67 const distance = Math.abs(draggedCenterY - targetCenterY) if (distance < overlapThreshold) {