lrf402788946 4 lat temu
rodzic
commit
0bcf9b21ce
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/login.vue

+ 1 - 1
src/views/login.vue

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