feat: 客户邮箱校验

This commit is contained in:
caiyuchao
2025-05-26 18:25:45 +08:00
parent c3d6c2c6bf
commit 3add21b78a

View File

@@ -131,6 +131,7 @@ export function useFormSchema(): VbenFormSchema[] {
fieldName: 'email',
label: $t('customer.email'),
component: 'Input',
rules: z.string().email().or(z.literal('')).optional(),
},
{
fieldName: 'remark',