修复bug
This commit is contained in:
@@ -55,9 +55,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getLocation () {
|
getLocation () {
|
||||||
alert(2)
|
|
||||||
this.injectJWeixin(['getLocation']).then(() => {
|
this.injectJWeixin(['getLocation']).then(() => {
|
||||||
alert(232432)
|
|
||||||
wx.getLocation({
|
wx.getLocation({
|
||||||
type: 'wgs84',
|
type: 'wgs84',
|
||||||
success: res => {
|
success: res => {
|
||||||
@@ -84,7 +82,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
alert(JSON.stringify(e))
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user