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

This commit is contained in:
YunaiV
2025-08-05 21:45:23 +08:00
parent 6d99bf3a46
commit 55061b73de
6 changed files with 103 additions and 28 deletions

View File

@@ -121,13 +121,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('请输入正确的邮箱'),
},
];
}