测试
This commit is contained in:
@@ -182,6 +182,13 @@
|
||||
this.albumId = query.albumId
|
||||
}
|
||||
|
||||
uni.setStorageSync('address', {
|
||||
lat: '',
|
||||
lng: '',
|
||||
address: '',
|
||||
weather: '',
|
||||
cityCode: ``
|
||||
})
|
||||
this.img = decodeURIComponent(query.url)
|
||||
this.height = uni.getSystemInfoSync().windowHeight
|
||||
|
||||
@@ -318,7 +325,7 @@
|
||||
},
|
||||
|
||||
getLocation () {
|
||||
this.injectJWeixin(['getLocation']).then(res => {
|
||||
this.injectJWeixin(['getLocation']).then(() => {
|
||||
wx.getLocation({
|
||||
type: 'wgs84',
|
||||
success: res => {
|
||||
@@ -349,6 +356,8 @@
|
||||
console.log(res)
|
||||
}
|
||||
})
|
||||
}).catch(e => {
|
||||
alert(JOSON.stringify(e))
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user