From e6cc733e53eb1914196f4e1f3a80b04f8575b5fd Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 18 Feb 2025 14:43:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BB=84=E5=90=88=E4=B8=AD=E7=9A=84=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E7=BB=84=E4=BB=B6=EF=BC=8C=E7=A7=BB=E5=8A=A8=E5=88=B0?= =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E5=BC=B9=E7=AA=97=E5=8C=BA=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/ContextMenuDetails.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/core-frontend/src/components/data-visualization/canvas/ContextMenuDetails.vue b/core/core-frontend/src/components/data-visualization/canvas/ContextMenuDetails.vue index b6302445cb..620ee97a21 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ContextMenuDetails.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ContextMenuDetails.vue @@ -109,6 +109,13 @@ const show = () => { snapshotStore.recordSnapshotCache('show') menuOpt('show') } +const showMoveMenu = computed( + () => + curComponent?.value?.canvasId === 'canvas-main' && + curComponent?.value['category'] === 'base' && + curComponent.value?.component === 'VQuery' && + popComponentDataLength.value === 0 +) const categoryChange = type => { if (curComponent.value) { snapshotStore.recordSnapshotCache('categoryChange') @@ -323,14 +330,7 @@ const editQueryCriteria = () => { is-screen jsname="L2NvbXBvbmVudC90aHJlc2hvbGQtd2FybmluZy9FZGl0QmFySGFuZGxlcg==" /> -