邮箱正则校验:
let reg = /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/;
密码正则校验:
let reg = /^(?!\D+$)(?![^a-zA-Z]+$)\S{6,15}$/ //验证密码 6-15位字母加数字