更新
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
},
|
||||
onLoad() {
|
||||
uni.clearStorageSync()
|
||||
this.refreshLocation()
|
||||
// this.refreshLocation()
|
||||
uni.login({
|
||||
provider: 'weixin',
|
||||
success: (loginRes) => {
|
||||
@@ -123,12 +123,12 @@
|
||||
})
|
||||
},
|
||||
refreshLocation() {
|
||||
uni.getLocation({
|
||||
type: 'wgs84',
|
||||
success: function(res) {
|
||||
uni.setStorageSync('location', res)
|
||||
}
|
||||
});
|
||||
// uni.getLocation({
|
||||
// type: 'wgs84',
|
||||
// success: function(res) {
|
||||
// uni.setStorageSync('location', res)
|
||||
// }
|
||||
// });
|
||||
},
|
||||
autoLogin() {
|
||||
// let url = 'loginCompany'
|
||||
|
||||
Reference in New Issue
Block a user