From 2cf907f9a3dca7f6b0f3687e83cbf5d7527d3745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Tue, 12 Aug 2025 18:00:38 +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=E5=9C=B0=E5=9B=BE=E7=B1=BB=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=86=8D=E6=98=BE=E7=A4=BA=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E5=8F=98=E5=BD=A2=E9=97=AE=E9=A2=98=20(#1669?= =?UTF-8?q?2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/store/modules/data-visualization/layer.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/store/modules/data-visualization/layer.ts b/core/core-frontend/src/store/modules/data-visualization/layer.ts index 99f5773b16..8f7e8c7c90 100644 --- a/core/core-frontend/src/store/modules/data-visualization/layer.ts +++ b/core/core-frontend/src/store/modules/data-visualization/layer.ts @@ -82,13 +82,16 @@ export const layerStore = defineStore('layer', { targetComponent.isShow = true if (targetComponent.component == 'Group') { targetComponent.propValue.forEach(item => { - if (item.innerType?.indexOf('table') !== -1) { + if (item.innerType?.indexOf('table') !== -1 || item?.innerType?.indexOf('map') !== -1) { setTimeout(() => { useEmitt().emitter.emit('renderChart-' + item.id) }, 400) } }) - } else if (targetComponent?.innerType?.indexOf('table') !== -1) { + } else if ( + targetComponent?.innerType?.indexOf('table') !== -1 || + targetComponent?.innerType?.indexOf('map') !== -1 + ) { setTimeout(() => { useEmitt().emitter.emit('renderChart-' + curComponent.value.id) }, 400)