fix:最新版本
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<base-input v-model="password" icon="lock" type="password" placeholder="请输入密码" />
|
||||
<base-input v-model="confirmPassword" icon="lock" type="password" placeholder="确认密码" />
|
||||
|
||||
<text class="auth-form-page__hint">8-20位字符,须包含字母、数字、符号中的至少2种。</text>
|
||||
<text class="auth-form-page__hint">{{ passwordRuleHint }}</text>
|
||||
|
||||
<view class="auth-form-page__btn">
|
||||
<primary-button text="确认修改" @click="submit" />
|
||||
@@ -17,8 +17,11 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { PASSWORD_RULE_HINT } from '@/utils/validate'
|
||||
import { useChangePassword } from './use-change-password'
|
||||
|
||||
const passwordRuleHint = `${PASSWORD_RULE_HINT}。`
|
||||
|
||||
const { password, confirmPassword, submit } = useChangePassword()
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user