wjx vor 3 Wochen
Ursprung
Commit
d90e3bc51a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/views/login.vue

+ 1 - 1
src/views/login.vue

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