提交 35c22869 编写于 作者: C Captain.B

user email regex

上级 d695bb15
......@@ -153,7 +153,7 @@
{ required: true, message: '请输入邮箱', trigger: 'blur' },
{
required: true,
pattern: /^([A-Za-z0-9_\-.])+@(163.com|qq.com|gmail.com|126.com)$/,
pattern: /^([A-Za-z0-9_\-.])+@([A-Za-z0-9]+\.)+[A-Za-z]{2,6}$/,
message: '邮箱格式不正确!',
trigger: 'blur'
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册