From 64ac36b0297b83413e6c914e5b01917c4fa4d39e Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 20 Jul 2023 12:19:52 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E8=A7=86=E5=9B=BE):=20=E8=89=B2=E5=BD=A9?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E6=94=BE=E5=A4=A7=E7=82=B9=E5=87=BB=E4=B8=8D?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=97=A0=E9=92=BB=E5=8F=96=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/components/ChartComponent.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/components/ChartComponent.vue b/frontend/src/views/chart/components/ChartComponent.vue index 12bef864e0..178daf6de0 100644 --- a/frontend/src/views/chart/components/ChartComponent.vue +++ b/frontend/src/views/chart/components/ChartComponent.vue @@ -481,9 +481,11 @@ export default { trackClick(trackAction) { const param = this.pointParam if (!param || !param.data || !param.data.dimensionList) { - // 地图提示没有关联字段 其他没有维度信息的 直接返回 if (this.chart.type === 'map') { - this.$warning(this.$t('panel.no_drill_field')) + const zoom = this.myChart.getOption().geo[0].zoom + if (zoom <= 1) { + this.$warning(this.$t('panel.no_drill_field')) + } } return }