From edbf4224c71014eacdcdcde12a9a2885ab0ffd23 Mon Sep 17 00:00:00 2001 From: zhangshuaibao <15731629597@163.com> Date: 星期二, 13 四月 2021 17:42:31 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/components/LayerController/logic/SolidWaste.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/LayerController/logic/SolidWaste.js b/src/components/LayerController/logic/SolidWaste.js index 91a6455..29f074a 100644 --- a/src/components/LayerController/logic/SolidWaste.js +++ b/src/components/LayerController/logic/SolidWaste.js @@ -4,7 +4,7 @@ // 鍖哄垎涓嶅悓绫诲瀷 浣跨敤涓嶅悓img const defaultImg = '/assets/images/map/solidwaste/voc.png' -const setting = '/assets/images/map/solidwaste/gf_green.png' +const setting = '/assets/images/map/solidwaste/gf_green2.png' // 璇锋眰鎺ュ彛鏁版嵁 const mapApi = require('../../../api/mapApi').default @@ -82,13 +82,13 @@ // 缁戝畾寮规瀹炰緥 const PublicBounced = window.Vue.extend(publicBounced) - const instance = new PublicBounced() - instance.$mount() + const instance = new PublicBounced().$mount() document.body.appendChild(instance.$el) + // document.body.removeChild(instance.$el) // 閫氳繃鏂规硶 鍚戠粦瀹氬脊妗嗕紶閫掓暟鎹� instance.setData(resultBasic.Result.DataInfo, resultDetailed.Result.DataInfo, 'gufei') /* flyTo()寮瑰嚭妗嗗钩绉讳簨浠� */ - this.setPanTo(e.latlng, 80) + this.setPanTo(e.latlng, 200) } // flayTo() 寮规鐨勫彲婊戝姩浜嬩欢 -- Gitblit v1.8.0