|
|
@ -7,7 +7,7 @@ const mixin = { |
|
|
|
{ required: true, message: '请输入验证码' }, |
|
|
|
{ min: 4, max: 4, message: '请输入4位短信验证码' }, |
|
|
|
], |
|
|
|
passwordRules: [{ required: true, pattern: new RegExp(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,16}$/), message: '请输入密码' }], |
|
|
|
passwordRules: [{ required: true, pattern:new RegExp(/^[a-zA-Z0-9._-]{6,20}$/), message: '请输入6-20位字母、数字、汉字或字符"_ - ."' }], |
|
|
|
againPassword: [{ required: true, validator: this.pwdAgainCheck, trigger: 'blur' }], |
|
|
|
activeBtn: 0, |
|
|
|
showInterval: false, |
|
|
|