fix: naive code
This commit is contained in:
@@ -78,8 +78,6 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
component: 'RadioGroup',
|
||||
componentProps: {
|
||||
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
|
||||
buttonStyle: 'solid',
|
||||
optionType: 'button',
|
||||
},
|
||||
rules: z.number().default(CommonStatusEnum.ENABLE),
|
||||
},
|
||||
@@ -122,8 +120,9 @@ export function useSendMailFormSchema(): VbenFormSchema[] {
|
||||
label: '收件邮箱',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
mode: 'tags',
|
||||
clearable: true,
|
||||
tag: true,
|
||||
multiple: true,
|
||||
filterable: true,
|
||||
placeholder: '请输入收件邮箱,按 Enter 添加',
|
||||
},
|
||||
},
|
||||
@@ -132,8 +131,9 @@ export function useSendMailFormSchema(): VbenFormSchema[] {
|
||||
label: '抄送邮箱',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
mode: 'tags',
|
||||
clearable: true,
|
||||
tag: true,
|
||||
multiple: true,
|
||||
filterable: true,
|
||||
placeholder: '请输入抄送邮箱,按 Enter 添加',
|
||||
},
|
||||
},
|
||||
@@ -142,8 +142,9 @@ export function useSendMailFormSchema(): VbenFormSchema[] {
|
||||
label: '密送邮箱',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
mode: 'tags',
|
||||
clearable: true,
|
||||
tag: true,
|
||||
multiple: true,
|
||||
filterable: true,
|
||||
placeholder: '请输入密送邮箱,按 Enter 添加',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user