From 1fcc794a1c8dc9dcec2940b98e63b5e677432328 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 31 Aug 2021 10:29:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E8=A7=86=E5=9B=BE=E4=B8=8B=E9=92=BB?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/components/ChartComponent.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/chart/components/ChartComponent.vue b/frontend/src/views/chart/components/ChartComponent.vue index 7c81e1e8a0..f23c41b0f5 100644 --- a/frontend/src/views/chart/components/ChartComponent.vue +++ b/frontend/src/views/chart/components/ChartComponent.vue @@ -218,7 +218,10 @@ export default { trackClick(trackAction) { const param = this.pointParam if (!param || !param.data || !param.data.dimensionList) { - this.$warning(this.$t('panel.no_drill_field')) + // 地图提示没有关联字段 其他没有维度信息的 直接返回 + if (this.chart.type === 'map') { + this.$warning(this.$t('panel.no_drill_field')) + } return } const linkageParam = {