密码修改去掉格式验证
This commit is contained in:
parent
06f664eed2
commit
54e4581fed
@ -43,8 +43,9 @@
|
||||
password:{
|
||||
rules: [{
|
||||
required: true,
|
||||
pattern:/^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,./]).{8,}$/,
|
||||
message: '密码由8位数字、大小写字母和特殊符号组成!'
|
||||
// pattern:/^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,./]).{8,}$/,
|
||||
// message: '密码由8位数字、大小写字母和特殊符号组成!'
|
||||
message: '请输入密码!'
|
||||
}, {
|
||||
validator: this.validateToNextPassword,
|
||||
}],
|
||||
|
Loading…
x
Reference in New Issue
Block a user