diff --git a/src/views/overview/overview_cmap.vue b/src/views/overview/overview_cmap.vue index af83acd..247ec02 100644 --- a/src/views/overview/overview_cmap.vue +++ b/src/views/overview/overview_cmap.vue @@ -253,13 +253,14 @@ console.log('markers length:', this.markers.length) const showWellCodes = [] let center = null - this.resetMassMarker() + if (this.showAll) { + this.resetMassMarker() + } // 对报警标记进行过滤: // 如果地图上需要显示报警 if (this.showAlarm) { this.alarmWells = [] // 查询报警的井,是否匹配 - debugger for (const marker of this.alarmWellsOri) { let show = true // 关键字不为空,且没有匹配成功,不显示 @@ -281,7 +282,6 @@ showWellCodes.push(marker.wellCode) } } - debugger // 过滤alarmList列表 this.alarmList = [] if (showWellCodes.length > 0) {