Commit d3f793ed by sunhaiwei

用户输入密码时添加相关的提示信息

parent 39d66887
...@@ -521,7 +521,7 @@ export function testPwdState(pwd) { ...@@ -521,7 +521,7 @@ export function testPwdState(pwd) {
} else if (pwd.length >= 5 && pwd.length <= 7) { } else if (pwd.length >= 5 && pwd.length <= 7) {
//5-7个字符 //5-7个字符
score += 10; score += 10;
} else if (pwd.length > 8) { } else if (pwd.length >= 8) {
//8个字符以上 //8个字符以上
score += 25; score += 25;
} }
......
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