From 0e5bea43683256e012e62c611a6514ecc42fb1e4 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sat, 25 Nov 2023 18:04:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E5=BA=97=E4=BD=8D=E7=BD=AE=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/plugins/realstore/index/index.vue | 4 ++++ pages/plugins/realstore/search/search.vue | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/pages/plugins/realstore/index/index.vue b/pages/plugins/realstore/index/index.vue index b18b9667..ebe12893 100644 --- a/pages/plugins/realstore/index/index.vue +++ b/pages/plugins/realstore/index/index.vue @@ -134,7 +134,11 @@     uni.$on('refresh', (data) => { // 初始位置数据         if((data.location_success || false) == true) { + // 用户位置初始化 this.user_location_init(); + + // 重新请求数据 + this.get_data();         }     }); diff --git a/pages/plugins/realstore/search/search.vue b/pages/plugins/realstore/search/search.vue index 3640cb39..552b4077 100644 --- a/pages/plugins/realstore/search/search.vue +++ b/pages/plugins/realstore/search/search.vue @@ -103,7 +103,14 @@ export default {     uni.$on('refresh', (data) => { // 初始位置数据         if((data.location_success || false) == true) { + // 用户位置初始化 this.user_location_init(); + + // 重新请求数据 + this.setData({ + data_page: 1, + }); + this.get_data_list(1);         }     }); },