From 9b5f63861a80915de899b24fd654da415c4a604d Mon Sep 17 00:00:00 2001 From: DCloud_Heavensoft Date: Fri, 29 Nov 2024 00:20:59 +0800 Subject: [PATCH] Update map.uvue --- pages/component/map/map.uvue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/component/map/map.uvue b/pages/component/map/map.uvue index d2317ce4..e35f313d 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) => { -- GitLab