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