| | |
| | | |
| | | <script lang="ts"> |
| | | import { namespace } from 'nuxt-property-decorator'; |
| | | import { Vue, Component, Ref } from 'vue-property-decorator'; |
| | | import { Vue, Component, Ref, Watch } from 'vue-property-decorator'; |
| | | import { OtpErrorCode } from '~/shared/models/enum/otpErrorCode'; |
| | | import { Role } from '~/shared/models/enum/Role'; |
| | | import { LoginRequest } from '~/shared/models/loginRequest.model'; |
| | |
| | | applyAccount_onAction = false; |
| | | |
| | | previousPath = ''; |
| | | |
| | | @Watch('onEmailVerifyResendStatus') |
| | | onEmailVerifyResendStatusChange() { |
| | | if (this.onEmailVerifyResendStatus === 'APPLY_OTP') { |
| | | this.regenerateImgOfVerification(); |
| | | } |
| | | } |
| | | |
| | | @Watch('onPhoneVerifyStep') |
| | | onPhoneVerifyStepChange() { |
| | | if (this.onPhoneVerifyStep === 'APPLY_OTP') { |
| | | this.regenerateImgOfVerification(); |
| | | } |
| | | } |
| | | |
| | | ///////////////////////////////////////////////////// |
| | | |
| | |
| | | this.emailOtpCode = ''; |
| | | } |
| | | this.removeOtpTime(); |
| | | this.regenerateImgOfVerification(); |
| | | } |
| | | |
| | | private resetOtpSetting(type: string) { |