diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js index f0c1b310..c7081832 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js @@ -132,7 +132,7 @@ export class MarkerCluster { } removeData(_id, _data) { if (!_data) return; - if (!Array.isArray(data)) data = [_data]; + if (!Array.isArray(_data)) _data = [_data]; const _vpmIndex = Vue.prototype.mapInsOpenLayers.findIndex(_id); if(_vpmIndex !== -1){ Vue.prototype.mapInsOpenLayers.splice(_vpmIndex)