fix: 邮件模版校验
parent
113520a3bd
commit
76e3105184
|
@ -187,7 +187,7 @@ export const baseSendSchemas: FormSchema[] = [
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
required: true,
|
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',
|
trigger: 'blur',
|
||||||
message: '邮箱格式不正确'
|
message: '邮箱格式不正确'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue