소스 검색

fix register

hgh 1 년 전
부모
커밋
364db6c04a
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/components/Auth/LoginComponent.vue

+ 2 - 2
src/components/Auth/LoginComponent.vue

@@ -41,12 +41,12 @@ export default {
   },
   computed: {
     showRegisterComponent() {
-      return this.step === 'register' || this.step === 'sendOtp'
+      return this.step === 'getUsername' || this.step === 'sendOtp'
     }
   },
   methods: {
     goToRegisterStep () {
-      this.step = 'register'
+      this.step = 'getUsername'
     },
     goToSendOtpStep () {
       this.step = 'sendOtp'