From f7bb999f2e6540a31f14e59321cd131a18c294d7 Mon Sep 17 00:00:00 2001 From: wisonic Date: Mon, 28 Oct 2024 11:30:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=BB=B4=E5=BA=A6?= =?UTF-8?q?=E5=92=8C=E6=8C=87=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/chart/components/views/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 7882df7cc5..38af35edc2 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -583,6 +583,10 @@ const checkFieldIsAllowEmpty = (allField?) => { showEmpty.value = false if (view.value?.render && view.value?.type) { const chartView = chartViewManager.getChartView(view.value.render, view.value.type) + // 插件 + if (!chartView) { + return + } const map = parseJson(view.value.customAttr).map if (['bubble-map', 'map'].includes(view.value?.type) && !map?.id) { showEmpty.value = true