修复:内测问题修改 v0.1.1
This commit is contained in:
@@ -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)
|
||||
|
||||
// 密码强度相关
|
||||
|
||||
Reference in New Issue
Block a user