From 9fdf9240269952e7b65e5f6e54ae57c7a9cc4d38 Mon Sep 17 00:00:00 2001 From: caolc <572275724@qq.com> Date: Tue, 19 Sep 2023 09:02:58 +0800 Subject: [PATCH] 1 --- App.vue | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/App.vue b/App.vue index 1393cf9..de4fb89 100644 --- a/App.vue +++ b/App.vue @@ -237,17 +237,16 @@ }, - onShow: function() { - console.log(12388) - uni.getLocation({ - type: 'wgs84', - success: function(res) { - uni.setStorageSync('location', { - longitude: res.longitude + '', - latitude: res.latitude + '' - }) - } - }); + onShow: function() { + // uni.getLocation({ + // type: 'wgs84', + // success: function(res) { + // uni.setStorageSync('location', { + // longitude: res.longitude + '', + // latitude: res.latitude + '' + // }) + // } + // }); console.log('onReady') const token = uni.getStorageSync('Authorization') const openid = uni.getStorageSync('openid')