From 104ffa58c4ef2b0074b73c90e032d44e86f9a4d3 Mon Sep 17 00:00:00 2001 From: little4 <360013221@qq.com> Date: Thu, 17 Oct 2024 18:03:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A1=A9=E5=8F=B7=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/Home/components/RoadAndEvents/utils/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)