From 9b01a55602687b7343d6d448ec25cbb295e4684d Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 29 Jul 2022 15:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/saas/AppCountryAlbum/AppCountryAlbum.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/project/saas/AppCountryAlbum/AppCountryAlbum.vue b/src/project/saas/AppCountryAlbum/AppCountryAlbum.vue index 645eb819..83fe55a7 100644 --- a/src/project/saas/AppCountryAlbum/AppCountryAlbum.vue +++ b/src/project/saas/AppCountryAlbum/AppCountryAlbum.vue @@ -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({