fix:【antd】【ele】system 下角色分配,不支持多选的问题

This commit is contained in:
YunaiV
2025-10-07 20:53:31 +08:00
parent 5e5ae1195e
commit 2e91f912d5
3 changed files with 15 additions and 3 deletions

View File

@@ -79,11 +79,17 @@ export function useFormSchema(): VbenFormSchema[] {
label: '邮箱',
component: 'Input',
rules: z.string().email('邮箱格式不正确').or(z.literal('')).optional(),
componentProps: {
placeholder: '请输入邮箱',
},
},
{
fieldName: 'mobile',
label: '手机号码',
component: 'Input',
componentProps: {
placeholder: '请输入手机号码',
},
},
{
fieldName: 'sex',