Commit 21f58601 authored by liuqiao's avatar liuqiao

二维码

parent 3a9f2000
......@@ -439,16 +439,12 @@ $("#jsAlterTel").bind("click",function(){
$("#newpassworderr").text("新密码需8位以上数字+英文,请重新设置");
$("#newpassworderr").show();
return false;
} else if (/d+[a-zA-Z]+/.test(newpassword)) {
} else if (/\d+[a-zA-Z]+/.test(newpassword)) {
console.log(1);
$("#newpassworderr").text("新密码需8位以上数字+英文,请重新设置");
$("#newpassworderr").show();
return false;
} else if(/^[a-zA-Z]+$/.test(newpassword)){
$("#newpassworderr").text("新密码需8位以上数字+英文,请重新设置");
$("#newpassworderr").show();
return false;
}else {
} else {
$("#newpassworderr").hide();
}
......
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