...
|
...
|
@@ -119,8 +119,14 @@ class RegisterNew { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (!validatePWD(password)) {
|
|
|
showErrTip('密码6-20位,请重新输入');
|
|
|
let validateResult = validatePWD(password, result => {
|
|
|
if (!result.valid) {
|
|
|
showErrTip(result.msg);
|
|
|
}
|
|
|
return result.valid;
|
|
|
});
|
|
|
|
|
|
if (!validateResult) {
|
|
|
return;
|
|
|
}
|
|
|
|
...
|
...
|
|