fix(系统设置): 修复用户邮箱格式支持带符号

This commit is contained in:
wenyann 2020-08-05 10:11:26 +08:00
parent e18e61a918
commit c8b59784fa
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@
{required: true, message: this.$t('user.input_email'), trigger: 'blur'},
{
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'),
trigger: 'blur'
}