Ver código fonte

Update index.tsx

lex 1 ano atrás
pai
commit
084f086d4d
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/views/creation/login-model/index.tsx

+ 2 - 1
src/views/creation/login-model/index.tsx

@@ -25,7 +25,7 @@ export default defineComponent({
   setup(props, { emit }) {
     const countDownRef = ref();
     const state = reactive({
-      loginType: 'SMS' as loginType,
+      loginType: 'PWD' as loginType,
       imgCodeStatus: false,
       username: '',
       password: '',
@@ -162,6 +162,7 @@ export default defineComponent({
               class={styles.btnText}
               onClick={() => {
                 if (state.loginType === 'PWD') {
+                  state.countDownStatus = true;
                   state.loginType = 'SMS';
                 } else {
                   state.loginType = 'PWD';