diff --git a/pages/component/map/map.uvue b/pages/component/map/map.uvue index d2317ce4f83a89004493b2c0e7d5747b6e127b83..e35f313d2b9326f054359cf0bb0caf524b7a9343 100644 --- a/pages/component/map/map.uvue +++ b/pages/component/map/map.uvue @@ -635,10 +635,17 @@ } 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) => {