Merge pull request #5 from Tech--man/master

fix mail regular
pull/43/head
芋道源码 2024-05-11 23:36:43 +08:00 committed by GitHub
commit 31bbeaf33c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ export const formSchema: FormSchema[] = [
{
required: true,
message: '请输入正确的邮箱地址',
pattern: /^\w{3,}(\.\w+)*@[A-z0-9]+(\.[A-z]{2,5}){1,2}$/,
pattern: /^([A-Za-z0-9_\-\.\u4e00-\u9fa5])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,8})$/,
trigger: 'blur',
},
],