From 42a5c3a7bf9f65d4003d800b6efa3769018f1bc3 Mon Sep 17 00:00:00 2001 From: 陈泽平 <chenzeping> Date: 星期日, 30 五月 2021 17:42:19 +0800 Subject: [PATCH] 企业应急-事件上报-定位图标清除问题修改 --- src/components/LayerController/service/LayerFactory.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/LayerController/service/LayerFactory.js b/src/components/LayerController/service/LayerFactory.js index c586a1c..f7230ba 100644 --- a/src/components/LayerController/service/LayerFactory.js +++ b/src/components/LayerController/service/LayerFactory.js @@ -132,7 +132,7 @@ layer.addTo(this.map) } } else { - logic && logic.init(this.addLayer(config), this.L) + logic && logic.init(this.addLayer(config), this.L, config) } logic && logic.start && logic.start() this.wmsLayerService && this.wmsLayerService.add(config) -- Gitblit v1.8.0