提交 feff93c3 编写于 作者: Q qiang

fix(h5): map callouttap question/134803

上级 dc6a11f9
...@@ -220,7 +220,7 @@ export default { ...@@ -220,7 +220,7 @@ export default {
callout.setOption(calloutStyle) callout.setOption(calloutStyle)
} else { } else {
callout = marker.callout = new maps.Callout(calloutStyle) callout = marker.callout = new maps.Callout(calloutStyle)
callout.div.onclick = function ($event) { callout.div.onclick = ($event) => {
if (this.id !== '') { if (this.id !== '') {
this.$parent.$trigger('callouttap', $event, { this.$parent.$trigger('callouttap', $event, {
markerId: this.id markerId: this.id
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册