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