From c6cd6c7a9db14e889c35916f733fe41cc646ff66 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 07 四月 2021 14:58:36 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/components/LayerController/modules/LcServiceLayerFilter.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/LayerController/modules/LcServiceLayerFilter.vue b/src/components/LayerController/modules/LcServiceLayerFilter.vue index ffc77a5..a617f78 100644 --- a/src/components/LayerController/modules/LcServiceLayerFilter.vue +++ b/src/components/LayerController/modules/LcServiceLayerFilter.vue @@ -77,9 +77,9 @@ swSubFilter (url, item) { item.checked = !item.checked if (item.checked) { - window.serviceLayerHelper.loadGeojsonLayer(url, item) + window.layerFactory.show(item) } else { - window.serviceLayerHelper.removeLayer(item) + window.layerFactory.hide(item) } // window.serviceLayerHelper.loadLayers() } @@ -99,7 +99,6 @@ <style scoped lang="less"> .inner-panel { - width: 500px; color: #90c8e0; font-size: 13px; -- Gitblit v1.8.0