From d82874e6579ccebc23958f70e14b990a599a6adb Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期四, 15 四月 2021 16:41:23 +0800 Subject: [PATCH] 查询弹窗 --- src/conf/layers/LayerPk.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/conf/layers/LayerPk.js b/src/conf/layers/LayerPk.js index ab13cdf..5547507 100644 --- a/src/conf/layers/LayerPk.js +++ b/src/conf/layers/LayerPk.js @@ -1,6 +1,8 @@ /** * 鎺掑彛 */ +import { PIPELINE_WFS } from '../Constants' +const WFS_URL = PIPELINE_WFS export const LayerPk = { code: 'sewersPk', name: '鎺掑彛', @@ -11,7 +13,7 @@ name: '鍐呮帓鍙�', sname: '鍐呮帓鍙�', checked: true, - wfs: '?TYPENAME=绠$綉', + wfs: WFS_URL + '?TYPENAME=鍐呮帓鍙�', minZoom: 10 // 鍦ㄦ寚瀹氱骇鍒樉绀� }, { @@ -19,7 +21,7 @@ name: '澶栨帓鍙�', sname: '澶栨帓鍙�', checked: true, // 榛樿閫変腑鐘舵�� - wfs: '?TYPENAME=浜嬫晠姘�', + wfs: WFS_URL + '?TYPENAME=澶栨帓鍙�', minZoom: 10 } ] -- Gitblit v1.8.0