|
@@ -139,7 +139,7 @@ export default {
|
|
|
if (code) {
|
|
|
this.dingdingLogin(code, state)
|
|
|
} else if (token) {
|
|
|
- this.$store.dispatch("SetToken", token).then(res => {
|
|
|
+ this.$store.dispatch("SetToken", encodeURIComponent(token)).then(res => {
|
|
|
this.$router.push({ path: `/login?redirect=${this.redirect || '/index'}` });
|
|
|
})
|
|
|
}
|