From 3d88b64a80476c5503f5a75d664f263acb7f75f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Wed, 6 Mar 2024 10:56:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=BD=A8=E8=BF=B9?= =?UTF-8?q?=E8=BF=BD=E8=B8=AA=E9=A1=B5=E5=9C=A8=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E6=97=B6=E8=BD=A8=E8=BF=B9=E5=88=97=E8=A1=A8=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/location/Index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/location/Index.vue b/src/views/location/Index.vue index bd4dc9c8..484db3b2 100644 --- a/src/views/location/Index.vue +++ b/src/views/location/Index.vue @@ -710,6 +710,9 @@ export default { } }, renderTrackingHexagon () { + if (!this.currentShowSubscriber) { + return true + } if (this.currentShowSubscriber.trackRecords && this.currentShowSubscriber.trackRecords.length > 0) { // 六边形 const polygonSourceData = this.hexagonDataConverter(this.currentShowSubscriber.trackRecords, 'traceTracking')