diff --git a/src/views/stationOperation/index.vue b/src/views/stationOperation/index.vue index 44e6a91..3acfadf 100644 --- a/src/views/stationOperation/index.vue +++ b/src/views/stationOperation/index.vue @@ -343,7 +343,7 @@ export default { setTimeout(() => { // 在panTo结束后执行动画 const overlays = this.$refs.mapRef.map.getOverlays() - const currOverlay = overlays.getArray().find(item => item.id == `${stationType}_${stationId}`) + const currOverlay = overlays.getArray().find(item => item.id == `marker_${stationType}_${stationId}`) const innerEle = currOverlay.getElement() innerEle.classList.add('ani-bounding')