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