From 223fa5e12c05fb9968123d08c4f504e996b83063 Mon Sep 17 00:00:00 2001 From: liuchuang Date: Wed, 13 May 2020 19:16:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E5=A2=9E=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E5=9C=B0=E5=9B=BE=E9=80=89=E7=82=B9=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/heart/map-select.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/modules/heart/map-select.vue b/src/views/modules/heart/map-select.vue index 6bddc6c..ad058e2 100644 --- a/src/views/modules/heart/map-select.vue +++ b/src/views/modules/heart/map-select.vue @@ -80,6 +80,7 @@ export default { this.dataForm.latitude = position.lat this.dataForm.longitude = position.lng this.dataForm.city = position.city + this.getAddress(position.lat, position.lng) this.setMap() }, showErr () { @@ -122,6 +123,9 @@ export default { position: myLatlng, map: map }) + qq.maps.event.addListener(marker, 'click', function (event) { + that.addressCheckHandle() + }) markerList.push(marker) // 添加监听事件 获取鼠标单击事件 qq.maps.event.addListener(map, 'click', function (event) {