From f88df9a13d1e6a3523eca358a20116cfb8ef23d0 Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Thu, 18 Sep 2025 10:41:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=9B=BE=E8=A1=A8=E4=B8=AD=E7=9A=84=E7=BC=A9?= =?UTF-8?q?=E7=95=A5=E8=BD=B4=E6=97=B6=EF=BC=8C=E5=9B=BE=E8=A1=A8=E8=A2=AB?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/data-visualization/canvas/Shape.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 9a882e9731..b2e95ac1e7 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue @@ -513,8 +513,13 @@ const handleDbClick = () => { } } +const hasChartMouseEvent = () => { + const chartContainer = document.getElementById(`container-canvas-${element.value.id}-common`) + return chartContainer && window.getComputedStyle(chartContainer).cursor !== 'default' +} + const handleInnerMouseDownOnShape = e => { - if (!canvasActive.value) { + if (!canvasActive.value || hasChartMouseEvent()) { return } batchSelected(e)