lrf402788946 4 年之前
父節點
當前提交
0f59ae6a69
共有 1 個文件被更改,包括 4 次插入2 次删除
  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() {