feat:【system 系统功能】邮箱增加抄送、密送,支持多个

This commit is contained in:
YunaiV
2025-08-05 22:23:29 +08:00
parent 55061b73de
commit d48b78a462
7 changed files with 90 additions and 17 deletions

View File

@@ -126,13 +126,31 @@ export function useSendMailFormSchema(): VbenFormSchema[] {
},
},
{
fieldName: 'mail',
fieldName: 'toMails',
label: '收件邮箱',
component: 'Input',
component: 'Textarea',
componentProps: {
placeholder: '请输入收件邮箱',
placeholder: '请输入收件邮箱,每行一个邮箱地址',
rows: 3,
},
},
{
fieldName: 'ccMails',
label: '抄送邮箱',
component: 'Textarea',
componentProps: {
placeholder: '请输入抄送邮箱,每行一个邮箱地址',
rows: 2,
},
},
{
fieldName: 'bccMails',
label: '密送邮箱',
component: 'Textarea',
componentProps: {
placeholder: '请输入密送邮箱,每行一个邮箱地址',
rows: 2,
},
rules: z.string().email('请输入正确的邮箱'),
},
];
}