Commit a486fa34 by 展昭

update

parent 3a716954
Showing with 0 additions and 2 deletions
......@@ -66,7 +66,6 @@ async function getToken(access_token, appid, next) {
res => {
if (res.status == 200) {
const accessToken = res.data.access_token;
//store.dispatch("changeToken", accessToken);
localStorage.setItem("token", accessToken);
next()
}
......@@ -77,7 +76,6 @@ async function getToken(access_token, appid, next) {
)
.catch(err => {
console.log("456err=", err);
//this.$router.push("/oidc-callback-error"); // Handle errors any way you want
});
}
......
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