feat: 客户邮箱校验
This commit is contained in:
@@ -131,6 +131,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
|||||||
fieldName: 'email',
|
fieldName: 'email',
|
||||||
label: $t('customer.email'),
|
label: $t('customer.email'),
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
|
rules: z.string().email().or(z.literal('')).optional(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fieldName: 'remark',
|
fieldName: 'remark',
|
||||||
|
|||||||
Reference in New Issue
Block a user