Commit a6deadd1 by 张建朝

tj

parent 2087a7e9
Showing with 2 additions and 0 deletions
...@@ -95,9 +95,11 @@ router.beforeEach((to, from, next) => { ...@@ -95,9 +95,11 @@ router.beforeEach((to, from, next) => {
} }
} }
} else { } else {
localStorage.setItem('appid',appid);
autoLogin({ autoCode: authcode, redirectPath: toPath }) autoLogin({ autoCode: authcode, redirectPath: toPath })
} }
}).catch(() => { }).catch(() => {
localStorage.setItem('appid',appid);
autoLogin({ autoCode: authcode, redirectPath: toPath }) autoLogin({ autoCode: authcode, redirectPath: toPath })
}); });
} else { } else {
......
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 sign in to comment