uniapp/pages/rankinglist/fengqiang.vue
@@ -18,10 +18,16 @@ } }, onLoad(options) { //console.log(options); const value = uni.getStorageSync('userInfo'); console.log(value.token); this.webviewUrl = encodeURI('http://dfgapp.ushopvip.com/html/fengqiangbang.html?token='+value.token); if(!this.hasLogin){ uni.reLaunch({ url:"/pages/login/wxlogin" }) } else{ const value = uni.getStorageSync('userInfo'); this.webviewUrl = encodeURI('http://dfgapp.ushopvip.com/html/fengqiangbang.html?token='+value.token); } }, onReady() { this.clearMuiBack();