fix:【antd】【ele】system 下角色分配,不支持多选的问题
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user