3 Commits

Author SHA1 Message Date
eabba07f1e Merge pull request '1' (#13) from caolc1 into master
Reviewed-on: #13
2023-09-12 03:05:40 +00:00
ccdb777232 Merge pull request '1212' (#12) from caolc1 into master
Reviewed-on: #12
2023-09-08 02:58:19 +00:00
e2672d627e Merge pull request '1' (#11) from caolc1 into master
Reviewed-on: #11
2023-09-08 02:01:42 +00:00

21
App.vue
View File

@@ -237,16 +237,17 @@
}, },
onShow: function() { onShow: function() {
// uni.getLocation({ console.log(12388)
// type: 'wgs84', uni.getLocation({
// success: function(res) { type: 'wgs84',
// uni.setStorageSync('location', { success: function(res) {
// longitude: res.longitude + '', uni.setStorageSync('location', {
// latitude: res.latitude + '' longitude: res.longitude + '',
// }) latitude: res.latitude + ''
// } })
// }); }
});
console.log('onReady') console.log('onReady')
const token = uni.getStorageSync('Authorization') const token = uni.getStorageSync('Authorization')
const openid = uni.getStorageSync('openid') const openid = uni.getStorageSync('openid')