修复bug

This commit is contained in:
yanran200730
2022-07-29 15:26:17 +08:00
parent 9b01a55602
commit a453c5779d

View File

@@ -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))
})
},