Merge pull request '1' (#14) from caolc1 into master

Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
2023-09-19 01:03:22 +00:00

21
App.vue
View File

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