diff --git a/src/platforms/h5/view/components/map/map-marker.js b/src/platforms/h5/view/components/map/map-marker.js index 14706646051d02aa897ea5f6ec609ad3236fe8a9..43039572044f977938b142210fc2bbea2e706004 100644 --- a/src/platforms/h5/view/components/map/map-marker.js +++ b/src/platforms/h5/view/components/map/map-marker.js @@ -220,7 +220,7 @@ export default { callout.setOption(calloutStyle) } else { callout = marker.callout = new maps.Callout(calloutStyle) - callout.div.onclick = function ($event) { + callout.div.onclick = ($event) => { if (this.id !== '') { this.$parent.$trigger('callouttap', $event, { markerId: this.id