From 29e7df663700720b5c0e391d1fce023264ab4181 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sat, 25 Nov 2023 18:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E9=80=89=E6=8B=A9=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/extraction-address/extraction-address.vue | 7 ++++++- pages/plugins/realstore/index/index.vue | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/extraction-address/extraction-address.vue b/pages/extraction-address/extraction-address.vue index 2a421f46..f92f220e 100644 --- a/pages/extraction-address/extraction-address.vue +++ b/pages/extraction-address/extraction-address.vue @@ -104,7 +104,12 @@ export default {     uni.$on('refresh', (data) => { // 初始位置数据         if((data.location_success || false) == true) { - this.user_location_init(); + // 用户位置初始化 + this.user_location_init(); + // 重新请求数据 + // #ifdef APP + this.init(); + // #endif         }     }); diff --git a/pages/plugins/realstore/index/index.vue b/pages/plugins/realstore/index/index.vue index ebe12893..97b5a515 100644 --- a/pages/plugins/realstore/index/index.vue +++ b/pages/plugins/realstore/index/index.vue @@ -136,9 +136,10 @@         if((data.location_success || false) == true) { // 用户位置初始化 this.user_location_init(); - // 重新请求数据 + // #ifdef APP this.get_data(); + // #endif         }     });