Commit b519a934 authored by liuqiao's avatar liuqiao

Merge branch 'feature-lq-04' into release_preview

parents 286a2dce c0f37da4
......@@ -439,7 +439,7 @@ $("#jsAlterTel").bind("click",function(){
$("#newpassworderr").text("新密码需8位以上数字+英文,请重新设置");
$("#newpassworderr").show();
return false;
} else if (/\d+[a-zA-Z]+/.test(newpassword)) {
} else if (!/\d+/.test(newpassword) || !/[a-zA-Z]+/.test(newpassword)) {
console.log(1);
$("#newpassworderr").text("新密码需8位以上数字+英文,请重新设置");
$("#newpassworderr").show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment