From c283b869b78ed2b60b5d7eda6b0d37d59767bbbc Mon Sep 17 00:00:00 2001 From: "3321822538@qq.com" <3321822538@qq.com> Date: Fri, 10 Jan 2025 17:42:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=87=E8=8A=B1=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pages/index/index.vue b/pages/index/index.vue index 597c99c..34dbf44 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -356,6 +356,20 @@ }) } }) + // uni.getLocation({ + // type: 'wgs84', + // success: (res) => { + + // }, + // fail: (err) => { + // console.error('获取位置失败:', err); + // uni.showToast({ + // title: '获取位置失败', + // icon: 'none', + // duration:2000 + // }) + // } + // }) // 请求个人信息 this.getinfo() // 一进来每分钟发一次上传信息命令