if (data.match(/^[0-9]{6,20}$|^[a-zA-Z]{6,20}$|[!@#$%^&*]{6,20}$/)) { this.formGroup.get('newPassword').setErrors({ passwordSuggestRules: true }); this.passwordStrong = 1; } else if (data.match(/^[0-... Read More
posted @ 2019-06-27 17:01 第一神坑 Views(337) Comments(0) Diggs(0)