From 17ba6febdaacf7563f7688bae473a4a89e914ff5 Mon Sep 17 00:00:00 2001 From: zhangshuaibao <15731629597@163.com> Date: 星期一, 29 三月 2021 16:04:18 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/components/flueGas/flueGas.js | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/components/flueGas/flueGas.js b/src/components/flueGas/flueGas.js index 62f103f..6ea7391 100644 --- a/src/components/flueGas/flueGas.js +++ b/src/components/flueGas/flueGas.js @@ -55,14 +55,14 @@ // // 绾� // var polyline = this.L.polyline(latlngs, { color: 'red' }).addTo(this.map) // console.log(polyline) - marker.bindPopup(() => { - return this.FlueGasPopup.$el - }, { - className: 's-map-popup', - minWidth: 1548, - closeButton: true, - autoClose: false - }) + // marker.bindPopup(() => { + // return this.FlueGasPopup.$el + // }, { + // className: 's-map-popup', + // minWidth: 1548, + // closeButton: true, + // autoClose: false + // }) // 鍒掕繃鍑虹幇 灞曠ず鏁版嵁 marker.bindTooltip(data[i].porltName, { permanent: true, @@ -73,9 +73,10 @@ // 鐐瑰嚮 浜嬩欢 marker.on('click', (e) => { try { - // console.log(e) + console.log(e) this.EffectOfPulse(e.target.getLatLng()) - this.FlueGasPopup.setDate(data[i]) + this.FlueGasPopup.setData(data[i]) + return this.FlueGasPopup.$el } catch (error) { console.log(error) } -- Gitblit v1.8.0