From cf5ab6da9ff676fab8a10d4299bd5a04a07bf50f Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期一, 17 五月 2021 10:05:53 +0800 Subject: [PATCH] 修复默认选中图层时出现的BUG --- src/conf/layers/LayerPipeLines.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/conf/layers/LayerPipeLines.js b/src/conf/layers/LayerPipeLines.js index cf545c9..ff746f1 100644 --- a/src/conf/layers/LayerPipeLines.js +++ b/src/conf/layers/LayerPipeLines.js @@ -17,11 +17,12 @@ code: 'rainline', name: '闆ㄦ按绾�', sname: '绠$綉', - checked: false, + checked: true, type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', icon: 'sewers/闆ㄦ按绾�.png', + legendImage: '../.././assets/images/map/sewers/闆ㄦ按绾�.png', color: '#0070ff', minZoom: 13, styles: { -- Gitblit v1.8.0