diff --git a/src/views/stationOperation/components/MapMarker.vue b/src/views/stationOperation/components/MapMarker.vue index b713e0a..662ce29 100644 --- a/src/views/stationOperation/components/MapMarker.vue +++ b/src/views/stationOperation/components/MapMarker.vue @@ -228,8 +228,8 @@ export default { let params = this.currList.find(item => { return item.stationId === result.stationId - }) - this.currStationInfo = {result,...params} + }) || {} + this.currStationInfo = { ...result, ...params } } else { this.$message.error(message) }