fix:最新版本

This commit is contained in:
李伊帆
2026-10-21 17:09:53 +08:00
parent 83a1e961ea
commit e4276b0853
106 changed files with 1587 additions and 992 deletions

View File

@@ -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>