From 83f68f5047bca0d73fc61d03956d834e5dabaf07 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 --- 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 fe5d0fa4..3c53e111 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