From a3a0083ab18c8b4f0dad49ecbc67275df1896f5d Mon Sep 17 00:00:00 2001 From: yangdelong <828900aaa> Date: 星期一, 19 四月 2021 12:38:03 +0800 Subject: [PATCH] 修改废气页面的标准值,生成独立组件 --- src/conf/layers/LayerArea.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/conf/layers/LayerArea.js b/src/conf/layers/LayerArea.js index 43af0c1..0ec2ae6 100644 --- a/src/conf/layers/LayerArea.js +++ b/src/conf/layers/LayerArea.js @@ -1,12 +1,12 @@ /** * 鍖哄煙 */ -import MapConfig from '../../conf/MapConfig' -const WFS_URL = MapConfig.PIPELINE_WFS +import { PIPELINE_WFS } from '../Constants' +const WFS_URL = PIPELINE_WFS export const LayerArea = { code: 'sewersArea', name: '鍖哄煙淇℃伅', - checked: true, + checked: false, layers: [ { code: 'sewersAreaGs', @@ -19,14 +19,14 @@ code: 'sewersAreaMt', name: '鐮佸ご', sname: '鐮佸ご', - checked: true, // 榛樿閫変腑鐘舵�� + checked: false, // 榛樿閫変腑鐘舵�� wfs: WFS_URL + '?TYPENAME=鐮佸ご' }, { code: 'sewersAreaZz', name: '瑁呯疆鍖�', sname: '瑁呯疆鍖�', - checked: true, // 榛樿閫変腑鐘舵�� + checked: false, // 榛樿閫変腑鐘舵�� wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' } ] -- Gitblit v1.8.0