Merge branch 'master' of https://gitee.com/wjl2008_admin/nuttyreading-master-html
This commit is contained in:
@@ -244,7 +244,7 @@
|
||||
}
|
||||
|
||||
if (this.dataForm.email) {
|
||||
if (/^\w+@\w+(\.[a-zA-Z]{2,3}){1,2}$/.test(this.dataForm.email) == false) {
|
||||
if (/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(this.dataForm.email) == false){
|
||||
this.$message.error("邮箱格式错误!")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user