Compare commits
3 Commits
caolc1
...
eabba07f1e
| Author | SHA1 | Date | |
|---|---|---|---|
| eabba07f1e | |||
| ccdb777232 | |||
| e2672d627e |
21
App.vue
21
App.vue
@@ -237,16 +237,17 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
// uni.getLocation({
|
console.log(12388)
|
||||||
// type: 'wgs84',
|
uni.getLocation({
|
||||||
// success: function(res) {
|
type: 'wgs84',
|
||||||
// uni.setStorageSync('location', {
|
success: function(res) {
|
||||||
// longitude: res.longitude + '',
|
uni.setStorageSync('location', {
|
||||||
// latitude: res.latitude + ''
|
longitude: res.longitude + '',
|
||||||
// })
|
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')
|
||||||
|
|||||||
Reference in New Issue
Block a user