This commit is contained in:
parent
31102c3b82
commit
433bd0f8c1
|
@ -125,19 +125,19 @@
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
rules:{
|
rules:{
|
||||||
/*password: [
|
password: [
|
||||||
{required: true, message: this.$t('user.input_password'), trigger: 'blur'},
|
{required: true, message: this.$t('user.input_password'), trigger: 'blur'},
|
||||||
{
|
{
|
||||||
required:true,
|
required: true,
|
||||||
pattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,16}$/,
|
pattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,16}$/,
|
||||||
message: this.$t('member.password_format_is_incorrect'),
|
message: this.$t('member.password_format_is_incorrect'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],*/
|
],
|
||||||
newpassword: [
|
newpassword: [
|
||||||
{required: true, message: this.$t('user.input_password'), trigger: 'blur'},
|
{required: true, message: this.$t('user.input_password'), trigger: 'blur'},
|
||||||
{
|
{
|
||||||
required:true,
|
required: true,
|
||||||
pattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,16}$/,
|
pattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,16}$/,
|
||||||
message: this.$t('member.password_format_is_incorrect'),
|
message: this.$t('member.password_format_is_incorrect'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
|
|
Loading…
Reference in New Issue