提交 9b5f6386 编写于 作者: DCloud_Heavensoft's avatar DCloud_Heavensoft

Update map.uvue

上级 207f278d
...@@ -635,10 +635,17 @@ ...@@ -635,10 +635,17 @@
} }
const maptap = (e : UniMapTapEvent) => { const maptap = (e : UniMapTapEvent) => {
// #ifdef WEB
uni.showModal({
content: 'web端map组件tap事件不支持返回经纬度'
});
// #endif
// #ifndef WEB
// console.log('点击地图时触发',e) // console.log('点击地图时触发',e)
uni.showModal({ uni.showModal({
content: JSON.stringify(e.detail) content: JSON.stringify(e.detail)
}); });
// #endif
}; };
const onmarkertap = (e : UniMapMarkerTapEvent) => { const onmarkertap = (e : UniMapMarkerTapEvent) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册