소스 검색

修改完整登录逻辑

wzz 5 일 전
부모
커밋
260c1f3540
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      src/views/Login.vue
  2. 1 1
      src/views/Transition.vue

+ 2 - 2
src/views/Login.vue

@@ -120,14 +120,14 @@ export default {
         setTimeout(() => {
           if (this.doorNavigated) return;
           this.doorNavigated = true;
-          this.$router.push("/main");
+          this.$router.push("/transition");
         }, 1000);
       });
     },
     handleDoorEnd() {
       if (!this.isDoorOpening || this.doorNavigated) return;
       this.doorNavigated = true;
-      this.$router.push("/main");
+      this.$router.push("/transition");
     },
   }
 };

+ 1 - 1
src/views/Transition.vue

@@ -16,7 +16,7 @@ export default {
   components: { GlobeTransition },
   methods: {
     goHome() {
-      this.$router.replace("/home");
+      this.$router.replace("/main");
     }
   }
 };