去掉多余的文件

This commit is contained in:
季圣华
2021-04-14 00:24:44 +08:00
parent 1043ee9b87
commit d87f1649a4
104 changed files with 1151 additions and 20506 deletions

View File

@@ -155,9 +155,9 @@
handlePasswordLevel(rule, value, callback) {
let level = 0
let reg = /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,./]).{8,}$/;
let reg = /^(?=.*[a-z])(?=.*\d).{8,}$/;
if (!reg.test(value)) {
callback(new Error('密码由8位数字、大小写字母和特殊符号组成!'))
callback(new Error('密码由8位数字小写字母组成!'))
}
// 判断这个字符串中有没有数字
if (/[0-9]/.test(value)) {