From f97a0f71e67ba9167cd98c8fbcd861517195a5c8 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 20 May 2026 10:01:57 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=A4=A7=E5=B1=8F=E5=A4=A7=E9=87=8F=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=8B=96=E6=8B=BD=E5=AE=B9=E6=98=93=E5=87=BA=E7=8E=B0=E5=8D=A1?= =?UTF-8?q?=E9=A1=BF=E9=97=AE=E9=A2=98#17344=20(#17911)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cherry-pick 039dcb23,添加拖拽节流和requestAnimationFrame优化, 保留当前分支的tOffset缩放偏移计算逻辑。 Co-Authored-By: Claude Opus 4.7 (1M context) --- .../src/components/data-visualization/canvas/Shape.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue index 6a63db146c..e70338b219 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue @@ -597,6 +597,7 @@ const handleMouseDownOnShape = e => { ? document.getElementById('shape-id-' + canvasId.value.split('--')[0]) : null const curDom = document.getElementById(domId.value) + // 添加节流变量 let rafId = null let lastTime = 0