lrf402788946 4 tahun lalu
induk
melakukan
0f59ae6a69
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  1. 4 2
      src/views/login.vue

+ 4 - 2
src/views/login.vue

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