| | |
| | | <template> |
| | | <template v-if="getShow"> |
| | | <div v-if="getShow"> |
| | | <LoginFormTitle class="enter-x" /> |
| | | <Form class="p-4 enter-x" :model="formData" :rules="getFormRules" ref="formRef"> |
| | | <FormItem name="mobile" class="enter-x"> |
| | |
| | | </Button> |
| | | </FormItem> |
| | | </Form> |
| | | </template> |
| | | </div> |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import { reactive, ref, computed, unref } from 'vue'; |
| | | import { Form, Input, Button } from 'ant-design-vue'; |
| | | import { CountdownInput } from '/@/components/CountDown'; |
| | | import { CountdownInput } from '@/components/CountDown'; |
| | | import LoginFormTitle from './LoginFormTitle.vue'; |
| | | import { useI18n } from '/@/hooks/web/useI18n'; |
| | | import { useI18n } from '@/hooks/web/useI18n'; |
| | | import { useLoginState, useFormRules, useFormValid, LoginStateEnum } from './useLogin'; |
| | | |
| | | const FormItem = Form.Item; |