lrf402788946 4 年之前
父節點
當前提交
0bcf9b21ce
共有 1 個文件被更改,包括 1 次插入1 次删除
  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('this.redirect_uri');
+    if (this.redirect_uri) this.$router.push(this.redirect_uri);
     else if (!this.is_dev) this.toIndex();
   },
   computed: {