提交 5123d7cf 编写于 作者: d-u-a's avatar d-u-a

fix: H5 map tap事件不触发问题

上级 2348c1ec
......@@ -346,7 +346,8 @@ export default {
this.$emit('boundsready')
})
maps.event.addListener(map, 'click', () => {
this.$trigger('tap', {}, {})
// TODO 编译器将 tap 转换为click
this.$trigger('click', {}, {})
})
maps.event.addListener(map, 'dragstart', () => {
this.$trigger('regionchange', {}, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册