diff --git a/Application/Mobile/View/Ssg/login.html b/Application/Mobile/View/Ssg/login.html index 0548541fd..39187752f 100644 --- a/Application/Mobile/View/Ssg/login.html +++ b/Application/Mobile/View/Ssg/login.html @@ -446,7 +446,7 @@ var PhoneObj = { alert("账号必须是6-15位字母数字组合!"); return false; } - if(regpassword < 6 || regpassword > 12){ + if(regpassword.length < 6 || regpassword.length > 12){ alert('密码长度6-12个字符'); return false; }