diff --git a/src/platforms/app-plus/view/components/map/index.vue b/src/platforms/app-plus/view/components/map/index.vue index d21d702f153d2b70a003d2596cec70ecc3b33222..4c6d268ae735dffbd5f41341ee17fc46460a59e4 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 }) } }