Commit 3c245b45 by 展昭

update

parent 2230ae50
Showing with 1 additions and 1 deletions
...@@ -111,7 +111,7 @@ router.beforeEach((to, from, next) => { ...@@ -111,7 +111,7 @@ router.beforeEach((to, from, next) => {
if (!!authcode && !!appid) { if (!!authcode && !!appid) {
getAccessToken(authcode).then(res => { getAccessToken(authcode).then(res => {
const token = res; const token = res;
const redirectPath = getPathByTo(to, 'authcode'); const redirectPath = getPathByTo(to, 'authCode');
getToken(token, appid, redirectPath); getToken(token, appid, redirectPath);
}).catch(err => { }).catch(err => {
console.log('err=', err); console.log('err=', err);
......
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