lrf402788946 4 years ago
parent
commit
7e0e3c7679
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/login.vue

+ 1 - 1
src/views/login.vue

@@ -25,7 +25,7 @@ export default {
     console.log(user);
     localStorage.setItem('user', JSON.stringify(user));
     this.$toast.clear();
-    if (this.redirect_uri) this.$router.push({ path: this.redirect_uri });
+    if (this.redirect_uri) this.$router.push('this.redirect_uri');
     else if (!this.is_dev) this.toIndex();
   },
   computed: {