From dff0f765b2a6f6211bacc7e7301208edb4de301d Mon Sep 17 00:00:00 2001 From: handongxun Date: Wed, 11 Mar 2020 11:17:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20vue=20map=20@markertap=20=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/platforms/app-plus/view/components/map/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platforms/app-plus/view/components/map/index.vue b/src/platforms/app-plus/view/components/map/index.vue index d21d702f1..4c6d268ae 100644 --- a/src/platforms/app-plus/view/components/map/index.vue +++ b/src/platforms/app-plus/view/components/map/index.vue @@ -255,7 +255,7 @@ export default { }) }, controlclick (e) { - this.$trigger('controltap', {}, { id: e.id }) + this.$trigger('controltap', {}, { controlId: e.id }) }, _publishHandler (callbackId, data) { UniViewJSBridge.publishHandler('onMapMethodCallback', { @@ -299,13 +299,13 @@ export default { if (id || id === 0) { nativeMarker.onclick = (e) => { this.$trigger('markertap', {}, { - id + markerId: id }) } if (nativeBubble) { nativeBubble.onclick = () => { this.$trigger('callouttap', {}, { - id + markerId: id }) } } -- GitLab