fix:更改密码时去掉 .

This commit is contained in:
shijing 2024-08-15 13:58:52 +08:00
parent 65f4502561
commit 7ea7051a88
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
<div class="el-form-item-msg">必须提供当前登录用户密码才能进行更改</div>
</el-form-item>
<el-form-item label="新密码" prop="new_password1">
<el-input v-model="formData.new_password1" placeholder="请输入包含英文、数字、特殊符号( @#$%^&.+=! 的8位以上密码" clearable show-password
<el-input v-model="formData.new_password1" placeholder="请输入包含英文、数字、特殊符号( @#$%^&+=! 的8位以上密码" clearable show-password
:style="{width: '100%'}"></el-input>
</el-form-item>
<el-form-item label="确认新密码" prop="new_password2">
@ -56,7 +56,7 @@ export default {
if (reg1.test(value)) {
callback();
}else{
callback(new Error('请输入包含英文、数字、特殊符号( @#$%^&.+=! 的8位以上密码'));
callback(new Error('请输入包含英文、数字、特殊符号( @#$%^&+=! 的8位以上密码'));
}
}}
],