Skip to content

Commit

Permalink
refactor(h5 map): remove useless code(map click取消冒泡 b0650ad)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyuWang committed Sep 3, 2022
1 parent c35bac7 commit 61cff29
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/platforms/h5/view/components/map/map-marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,6 @@ export default {
}
event.stopPropagation()
})
// 处理 google H5移动端 maker 点击触发 map 点击问题
maps.event.addListener(marker, 'mousedown', (e) => {
if (e.domEvent) {
e.domEvent.stopPropagation()
}
})
}
},
updateMarker (option) {
Expand Down

0 comments on commit 61cff29

Please sign in to comment.