From b711e552675919b13672214aad382d2a5c37cc33 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Tue, 28 Mar 2023 13:05:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 +++- BagStation/pages/routePlain/routePlain.vue | 2 +- pages/tabbar/station/stationList.vue | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/App.vue b/App.vue index 94367d4..49b167b 100644 --- a/App.vue +++ b/App.vue @@ -103,7 +103,6 @@ }) }, onShareAppMessage() { - let that = this wx.onAppRoute(() => { const pages = getCurrentPages() //获取加载的页面 const view = pages[pages.length - 1] //获取当前页面的对象 @@ -118,6 +117,9 @@ } } let white = ['pages/index/startPage/startPage'] + if(view.route === 'BagStation/pages/stationDetail/stationDetail') { + uni.removeStorageSync('refuseLogin') + } // 是否跳过登陆 let isRefuseLogin = uni.getStorageSync('refuseLogin') if(isRefuseLogin || white.includes(view.route) || view.route.includes('BagAuth')) return diff --git a/BagStation/pages/routePlain/routePlain.vue b/BagStation/pages/routePlain/routePlain.vue index c8fbafe..96837f4 100644 --- a/BagStation/pages/routePlain/routePlain.vue +++ b/BagStation/pages/routePlain/routePlain.vue @@ -332,7 +332,7 @@ } else { uni.showModal({ title:'请您登录', - content:"登录小星加油才可以加油 |˛˙꒳​˙)♡", + content:"登录中品加油才可以加油 |˛˙꒳​˙)♡", confirmText:'去登陆', success: (res) => { if(res.confirm){ diff --git a/pages/tabbar/station/stationList.vue b/pages/tabbar/station/stationList.vue index e92ac3c..b0b15ce 100644 --- a/pages/tabbar/station/stationList.vue +++ b/pages/tabbar/station/stationList.vue @@ -438,7 +438,7 @@ } else { uni.showModal({ title: '请您登录', - content: "登录小星加油才可以加油 |˛˙꒳​˙)♡", + content: "登录中品加油才可以加油 |˛˙꒳​˙)♡", confirmText: '去登陆', success: (res) => { if (res.confirm) {