// 至少8-16个字符,至少1个小写字母和1个数字,其他可以是任意字符: export const PSW ={ REG: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,16}$/, tip: '请输入8-16位数字、英文大小写组合密码' } // 手机号校验 export const PHONE = { REG: /^1(3|4|5|6|7|8|9)\d{9}$/, // REG: /^((13[0-9]|14[01456879]|15[0-3,5-9]|16[2567]|17[0-8]|18[0-9]|19[0-3,5-9])\d{8})|(8){11}$/, tip: '手机号格式不正确!' } export const EPSW = { REG: /^[0-9a-zA-Z]*$/, tip: '仅支持数字或字母组合密码' }