Commit 92e764d7 by 展昭

index

parent 86d22196
Showing with 2 additions and 2 deletions
...@@ -38,12 +38,12 @@ async function getToken(access_token, appid) { ...@@ -38,12 +38,12 @@ async function getToken(access_token, appid) {
}, },
err => { err => {
console.log("789err=", err); console.log("789err=", err);
window.location.href = '/callback.html?err=' + err.response.data.error_description; // window.location.href = '/callback.html?err=' + err.response.data.error_description;
} }
) )
.catch(err => { .catch(err => {
console.log("111err=", err); console.log("111err=", err);
window.location.href = '/callback.html?err=' + err.response.data.error_description; // window.location.href = '/callback.html?err=' + err.response.data.error_description;
}); });
} }
......
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