解决分销商邮箱校验不合法

This commit is contained in:
red-deng-deng 2021-12-07 18:15:52 +08:00
parent 68b9106495
commit d49d26e92a
1 changed files with 4 additions and 4 deletions

View File

@ -97,19 +97,19 @@ export default class adduserinfo extends React.Component{
email1:[ email1:[
{ type: "required", message: "请输入联系人邮箱"}, { type: "required", message: "请输入联系人邮箱"},
{ type: "regExp", message: "联系人邮箱格式不对",reg:"^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"} // { type: "regExp", message: "联系人邮箱格式不对",reg:"^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"}
], ],
email2: [ email2: [
{ type: "required", message: "请输入联系人邮箱"}, { type: "required", message: "请输入联系人邮箱"},
{ type: "regExp", message: "联系人邮箱格式不对",reg:"^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"} // { type: "regExp", message: "联系人邮箱格式不对",reg:"^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"}
], ],
email3:[ email3:[
{ type: "required", message: "请输入联系人邮箱"}, { type: "required", message: "请输入联系人邮箱"},
{ type: "regExp", message: "联系人邮箱格式不对",reg:"^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"} // { type: "regExp", message: "联系人邮箱格式不对",reg:"^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"}
], ],
email4: [ email4: [
{ type: "required", message: "请输入联系人邮箱"}, { type: "required", message: "请输入联系人邮箱"},
{ type: "regExp", message: "联系人邮箱格式不对",reg:"^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"} // { type: "regExp", message: "联系人邮箱格式不对",reg:"^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"}
] ]