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

19
App.vue
View File

@@ -238,15 +238,16 @@
},
onShow: function() {
// uni.getLocation({
// type: 'wgs84',
// success: function(res) {
// uni.setStorageSync('location', {
// longitude: res.longitude + '',
// latitude: res.latitude + ''
// })
// }
// });
console.log(12388)
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')