From c5f1a3589bd8924c11dbe01aabe1e760a14df3e4 Mon Sep 17 00:00:00 2001 From: zhao_js <349234519@qq.com> Date: 星期一, 21 十月 2024 19:34:29 +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