feat:清理多余的 buttonStyle: 'solid', 【ele】

This commit is contained in:
YunaiV
2025-10-16 14:00:53 +08:00
parent d1089d7a50
commit 3f6c405376
44 changed files with 89 additions and 160 deletions

View File

@@ -80,8 +80,6 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'RadioGroup',
componentProps: {
options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean'),
buttonStyle: 'solid',
optionType: 'button',
},
rules: 'required',
defaultValue: true,
@@ -92,8 +90,6 @@ export function useFormSchema(): VbenFormSchema[] {
component: 'RadioGroup',
componentProps: {
options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean'),
buttonStyle: 'solid',
optionType: 'button',
},
rules: 'required',
defaultValue: true,
@@ -126,8 +122,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),
},