Browse Source

修复桩号隐藏的问题

develop
little4 1 month ago
parent
commit
104ffa58c4
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js

@ -132,7 +132,7 @@ export class MarkerCluster {
} }
removeData(_id, _data) { removeData(_id, _data) {
if (!_data) return; if (!_data) return;
if (!Array.isArray(data)) data = [_data]; if (!Array.isArray(_data)) _data = [_data];
const _vpmIndex = Vue.prototype.mapInsOpenLayers.findIndex(_id); const _vpmIndex = Vue.prototype.mapInsOpenLayers.findIndex(_id);
if(_vpmIndex !== -1){ if(_vpmIndex !== -1){
Vue.prototype.mapInsOpenLayers.splice(_vpmIndex) Vue.prototype.mapInsOpenLayers.splice(_vpmIndex)

Loading…
Cancel
Save