vue+element-ui密码正则表达式验证密码属于强中弱

checkStrong(sValue) { var modes = 0; if (sValue.length < 1) return modes; if (/\d/.test(sValue)) modes++; if (/[a-z]/.test(sValue)) modes++; if (/[A-Z]/.test(sValue)) modes++; if (/\W/.test(sValue)) m
相关文章
相关标签/搜索