From 1682ad0f318e8a7c84bfe7761951b1c52aceb3a8 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期三, 21 六月 2023 11:16:54 +0800 Subject: [PATCH] no message --- uniapp/pages/rankinglist/xianbao.vue | 22 ++++++++++------------ 1 files changed, 10 insertions(+), 12 deletions(-) diff --git a/uniapp/pages/rankinglist/xianbao.vue b/uniapp/pages/rankinglist/xianbao.vue index 6dbb8a5..eace27c 100644 --- a/uniapp/pages/rankinglist/xianbao.vue +++ b/uniapp/pages/rankinglist/xianbao.vue @@ -35,22 +35,20 @@ if(showtar&&platform=='iOS') {//璺宠浆new this.isshowtype=true; - - return; + } + else + { + if(!this.hasLogin){ + uni.reLaunch({ + url:"/pages/login/wxlogin" + }) + } } // #endif }, onLoad(options) { - if(!this.hasLogin){ - uni.reLaunch({ - url:"/pages/login/wxlogin" - }) - } - else{ - const value = uni.getStorageSync('userInfo'); - this.webviewUrl = encodeURI('http://dfgapp.ushopvip.com/html/xianbao.html?token='+value.token); - } - + const value = uni.getStorageSync('userInfo'); + this.webviewUrl = encodeURI('http://dfgapp.ushopvip.com/html/xianbao.html?token='+value.token); }, onReady() { this.clearMuiBack(); -- Gitblit v1.9.3