提交 9fe81f2e 编写于 作者: 雪洛's avatar 雪洛

feat(web): 增加web端map tap事件提示

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