From 9316ff83be2a825d3cec7f68adedd019b2aa8062 Mon Sep 17 00:00:00 2001 From: taohebin Date: Tue, 15 Oct 2024 16:47:59 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Amap=E7=A4=BA=E4=BE=8B=20iOS?= =?UTF-8?q?=E7=AB=AF=E7=82=B9=E5=87=BB=E4=BA=8B=E4=BB=B6=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Conflicts: # pages/component/map/map.uvue --- pages/component/map/map.uvue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/component/map/map.uvue b/pages/component/map/map.uvue index 9e0c8f72..ec6d95ee 100644 --- a/pages/component/map/map.uvue +++ b/pages/component/map/map.uvue @@ -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) }); }; -- GitLab