Commit 3108c082 by 冷斌

fix bug

parent f40c84e0
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
layer.msg('认证主播才可提现'); layer.msg('认证主播才可提现');
return; return;
} }
sessionStorage.setItem("source",source);
let url = this.certification != 1 ? '/index.php?g=Appapi&m=Profit&a=auth' : '/index.php?g=Appapi&m=Profit&a=withdraw'; let url = this.certification != 1 ? '/index.php?g=Appapi&m=Profit&a=auth' : '/index.php?g=Appapi&m=Profit&a=withdraw';
window.location.href = this.url(url); window.location.href = this.url(url);
} }
......
...@@ -156,12 +156,9 @@ ...@@ -156,12 +156,9 @@
//加载触发函数 //加载触发函数
// 判断是否为微信浏览器 // 判断是否为微信浏览器
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
console.log(ua)
  if(ua.match(/MicroMessenger/i)=='micromessenger') {   if(ua.match(/MicroMessenger/i)=='micromessenger') {
    console.log("在微信里打开")
this.bstype = 1 this.bstype = 1
  } else {   } else {
     console.log('不在微信里打开');
this.bstype = 0 this.bstype = 0
  }   }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment