提交 7ad7edba 编写于 作者: X xiaoyucoding

fix: map markertap

上级 ef0aa723
......@@ -415,14 +415,7 @@ export default {
})
marker.id = option.id
this.changeMarker(marker, option)
var mouseup
maps.event.addListener(marker, 'mouseup', e => {
mouseup = Date.now()
})
maps.event.addListener(marker, 'click', e => {
if (Date.now() - mouseup < 20) {
return
}
var callout = marker.callout
if (callout) {
var div = callout.div
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册