From 90b008e7f8ef2819c3268402e9da9bc2e9c363fc Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 17 Jan 2024 11:33:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=B3=E9=94=AE?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E5=90=8E=EF=BC=8C=E9=BC=A0=E6=A0=87=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=9B=BE=E5=B1=82=E4=BD=8D=E7=BD=AE=EF=BC=8C=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=A4=84=E5=BC=B9=E5=87=BA=E7=9A=84=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E9=9A=90=E8=97=8F=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/CanvasCore.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/core-frontend/src/components/data-visualization/canvas/CanvasCore.vue b/core/core-frontend/src/components/data-visualization/canvas/CanvasCore.vue index 62b1cff622..552dab01d3 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/CanvasCore.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/CanvasCore.vue @@ -497,6 +497,10 @@ const handleContextMenu = e => { // 组件处于编辑状态的时候 如富文本 不弹出右键菜单 if (!curComponent.value || (curComponent.value && !curComponent.value.editing)) { contextmenuStore.showContextMenu({ top, left, position: 'canvasCore' }) + const iconDom = document.getElementById('close-button') + if (iconDom) { + iconDom.click() + } } }