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')