Commit 4d49414b by 杨北旺

.

1 parent f7027853
...@@ -170,7 +170,9 @@ export default { ...@@ -170,7 +170,9 @@ export default {
}, },
created() { created() {
let past_due = sessionStorage.getItem("CODE_PAST_DUE") let past_due = sessionStorage.getItem("CODE_PAST_DUE")
console.log(past_due);
if(!past_due){ if(!past_due){
console.log(11111);
this.jump() this.jump()
}else{//过期得重新授权--获取微信信息 }else{//过期得重新授权--获取微信信息
this.getSessionId() this.getSessionId()
...@@ -306,6 +308,7 @@ export default { ...@@ -306,6 +308,7 @@ export default {
? JSON.parse(sessionStorage.getItem("GL_EQUITY_USER_INFO")) ? JSON.parse(sessionStorage.getItem("GL_EQUITY_USER_INFO"))
: this.$store.state; : this.$store.state;
const ua = navigator.userAgent.toLowerCase(); const ua = navigator.userAgent.toLowerCase();
console.log(sessionId);
if (sessionId) { if (sessionId) {
if (!this.isMiniprogram) { if (!this.isMiniprogram) {
if (ua.match(/MicroMessenger/i) == "micromessenger") { if (ua.match(/MicroMessenger/i) == "micromessenger") {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!