给密码的输入框增加预览的图标

This commit is contained in:
jishenghua
2025-02-04 15:20:59 +08:00
parent 9566071e91
commit b729ec87df
3 changed files with 7 additions and 7 deletions

View File

@@ -13,14 +13,14 @@
</a-form-item>
<a-form-item>
<a-input
<a-input-password
v-decorator="['password',{initialValue:'', rules: validatorRules.password.rules}]"
size="large"
type="password"
autocomplete="false"
placeholder="请输入密码">
<a-icon slot="prefix" type="lock" :style="{ color: 'rgba(0,0,0,.25)' }"/>
</a-input>
</a-input-password>
</a-form-item>
<a-row :gutter="0">