pull/14/head
caolc 1 year ago
parent 95be701567
commit 9fdf924026
  1. 21
      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')

Loading…
Cancel
Save