fix(系统设置): 修复用户邮箱格式支持带符号
This commit is contained in:
parent
e18e61a918
commit
c8b59784fa
|
@ -369,7 +369,7 @@
|
||||||
{required: true, message: this.$t('user.input_email'), trigger: 'blur'},
|
{required: true, message: this.$t('user.input_email'), trigger: 'blur'},
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
pattern: /^([A-Za-z0-9_\-.])+@([A-Za-z0-9]+\.)+[A-Za-z]{2,6}$/,
|
pattern: /^[a-zA-Z0-9_._-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/,
|
||||||
message: this.$t('user.email_format_is_incorrect'),
|
message: this.$t('user.email_format_is_incorrect'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue