From fc740a71e8a8da79511a878b990d7d445bc754ac Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Wed, 13 Sep 2023 18:52:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- pages/index/index.vue | 4 +--- pages/store/settled/index.vue | 21 ++++++++++++++++++++- store/modules/app.js | 2 +- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/App.vue b/App.vue index 387107c..3fe566e 100644 --- a/App.vue +++ b/App.vue @@ -254,7 +254,7 @@ uni.onNetworkStatusChange(function(res) { if (res.isConnected) { - + uni.reLaunch({ url: '/pages/index/index' }) diff --git a/pages/index/index.vue b/pages/index/index.vue index 1218e55..90aa999 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -253,9 +253,7 @@ mounted() { this.getUserInfo() - uni.onNetworkStatusChange((res) => { - console.log(res, res.networkType) - }); + this.selfLocation() // #ifdef H5 // 监听页面滚动事件 diff --git a/pages/store/settled/index.vue b/pages/store/settled/index.vue index bf98155..4a62a93 100644 --- a/pages/store/settled/index.vue +++ b/pages/store/settled/index.vue @@ -102,6 +102,19 @@ + + + + + 社会信用代码 + + + + + +