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) {