测试
This commit is contained in:
@@ -32,7 +32,10 @@ export default {
|
||||
cityCode: ``
|
||||
})
|
||||
|
||||
this.getLocation()
|
||||
|
||||
setTimeout(() => {
|
||||
this.getLocation()
|
||||
}, 600)
|
||||
},
|
||||
|
||||
onShow() {
|
||||
@@ -52,6 +55,7 @@ export default {
|
||||
},
|
||||
|
||||
getLocation () {
|
||||
alert(2)
|
||||
this.injectJWeixin(['getLocation']).then(() => {
|
||||
alert(232432)
|
||||
wx.getLocation({
|
||||
|
||||
Reference in New Issue
Block a user