fix: 邮件模版校验

pull/21/MERGE
xingyu 2023-06-08 11:15:24 +08:00
parent 113520a3bd
commit 76e3105184
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ export const baseSendSchemas: FormSchema[] = [
rules: [
{
required: true,
pattern: /^\w{3,}(\.\w+)*@[A-z0-9]+(\.[A-z]{2,5}){1,2}$/,
pattern: /^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,
trigger: 'blur',
message: '邮箱格式不正确'
}