Compare commits
3 Commits
caolc1
...
eabba07f1e
| Author | SHA1 | Date | |
|---|---|---|---|
| eabba07f1e | |||
| ccdb777232 | |||
| e2672d627e |
19
App.vue
19
App.vue
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user