From 5699e79eab8485577ec9be6a409b1f39e6e79bc3 Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Thu, 29 May 2025 17:49:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E6=89=93=E5=BC=80=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 49ffbf1..3d93e58 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -159,8 +159,9 @@ // #ifdef MP-WEIXIN var lngLat = hospital.hospital_pos.toString().split(',') - var lng = Number(lngLat[0]) - , lat = Number(lngLat[1]) + var lng = Number(lngLat[1]) + , lat = Number(lngLat[0]) + if (typeof wx !== 'undefined' && wx.openLocation) { wx.openLocation({