|
|
@ -51,7 +51,7 @@ import Intermodulation from "./../Dialogs/Intermodulation/index.vue"; |
|
|
|
import GuardrailCollision from "./../Dialogs/GuardrailCollision/index.vue"; |
|
|
|
|
|
|
|
import FatigueWakesUp from "./../Dialogs/FatigueWakesUp/index.vue"; |
|
|
|
import { addInGraphHandle } from "./utils/map" |
|
|
|
import { addInGraphHandle, markerClusterIns } from "./utils/map" |
|
|
|
import { lngLatMap } from "./utils/buttonEvent"; |
|
|
|
|
|
|
|
export default { |
|
|
@ -183,6 +183,7 @@ export default { |
|
|
|
beforeDestroy() { |
|
|
|
this.emitter.off("selectedCompleted", this.selectedCompletedHandle); |
|
|
|
Object.keys(lngLatMap).forEach(key => delete lngLatMap[key]); |
|
|
|
markerClusterIns.clear(); |
|
|
|
window.renderData = undefined; |
|
|
|
}, |
|
|
|
methods: { |
|
|
|