修复:内测问题修改 v0.1.1

This commit is contained in:
2025-11-28 14:31:02 +08:00
parent 79c6fb247c
commit 8f890a6802
10 changed files with 31 additions and 83 deletions

View File

@@ -23,7 +23,7 @@
:placeholder="$t('login.codePlaceholder')"
/>
<wd-button type="info" :class="['code-btn', { active: !readonly }]" @click="getCode">
{{ t('login.getCode') }}
{{ codeText }}
</wd-button>
</view>
@@ -70,14 +70,12 @@
<script setup lang="ts">
import { ref } from 'vue'
import { useI18n } from 'vue-i18n'
import { t } from '@/utils/i18n'
import { commonApi } from '@/api/modules/common'
import { resetPassword } from '@/api/modules/auth'
import { validateEmail, checkPasswordStrength } from '@/utils/validator'
import { getNotchHeight } from '@/utils/system'
const { t } = useI18n()
// 表单数据
const email = ref('')
const code = ref('')
@@ -85,7 +83,7 @@ const password = ref('')
const confirmPassword = ref('')
// 验证码相关
const codeText = ref('Get Code')
const codeText = ref(t('login.getCode'))
const readonly = ref(false)
// 密码强度相关