解决分销商邮箱校验不合法
This commit is contained in:
parent
68b9106495
commit
d49d26e92a
|
@ -97,19 +97,19 @@ export default class adduserinfo extends React.Component{
|
|||
|
||||
email1:[
|
||||
{ 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: [
|
||||
{ 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:[
|
||||
{ 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: [
|
||||
{ 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_-]+)+$"}
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue