提交 83f68f50 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

fix:map示例 iOS端点击事件报错

上级 7a3c7166
......@@ -621,21 +621,21 @@
const maptap = (e : UniMapTapEvent) => {
// console.log('点击地图时触发',e)
uni.showModal({
content: JSON.stringify(e)
content: JSON.stringify(e.detail)
});
};
const onmarkertap = (e : UniMapMarkerTapEvent) => {
// console.log('点击标记点时触发',e)
uni.showModal({
content: JSON.stringify(e)
content: JSON.stringify(e.detail)
});
};
const oncontroltap = (e : UniMapControlTapEvent) => {
// console.log('点击控件时触发',e)
uni.showModal({
content: JSON.stringify(e)
content: JSON.stringify(e.detail)
});
};
......@@ -651,13 +651,13 @@
};
const onregionchange = (e : UniMapRegionChangeEvent) => {
console.log('视野发生变化时触发', e)
console.log('视野发生变化时触发', e.detail)
};
const onpoitap = (e : UniMapPoiTapEvent) => {
// console.log('点击地图poi点时触发',e)
uni.showModal({
content: JSON.stringify(e)
content: JSON.stringify(e.detail)
});
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册