From 7f1be6bc4e0da71ce6476232512013f2d20972cc Mon Sep 17 00:00:00 2001 From: seatonwan9 <seatonwan9@163.com> Date: 星期五, 28 五月 2021 19:39:12 +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