包含用户姓名,手机号,密码,邮箱,搜索关键字等 由于手机网络一直在升级,手机号码更新快的原因,手机号码正则验证,我一般使用下面这段校验 export function iphoneReg(val) { return /^1[0-9]{10}$/.test(val) }