1 #14

Merged
caoliancun merged 1 commits from caolc1 into master 1 year ago
  1. 19
      App.vue

@ -238,16 +238,15 @@
}, },
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')

Loading…
Cancel
Save