diff --git a/src/main/ets/utils/ValidatorHelper.ets b/src/main/ets/utils/ValidatorHelper.ets index dbac81a..3ddca4a 100644 --- a/src/main/ets/utils/ValidatorHelper.ets +++ b/src/main/ets/utils/ValidatorHelper.ets @@ -34,14 +34,5 @@ export class ValidatorHelper { return regexp.test(idcardNum) } - /** - * 是否为密码 - * @param password - * @returns - */ - public static isPassword(password: string) { - let regexp: RegExp = new RegExp('(^(?=.*[a-zA-Z])(?=.*\\d)[A-Za-z\\d!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~]{8,12}$)'); - return regexp.test(password) - } }