diff --git a/src/views/baseinfo/clientflowtemplate/columns.tsx b/src/views/baseinfo/clientflowtemplate/columns.tsx index c2d11516..8bc7326b 100644 --- a/src/views/baseinfo/clientflowtemplate/columns.tsx +++ b/src/views/baseinfo/clientflowtemplate/columns.tsx @@ -92,17 +92,16 @@ export const formSchema: FormSchema[] = [ { field: 'status', label: '是否启用', - component: 'RadioButtonGroup', - defaultValue: 1, - colProps: { span: 12 }, + component: 'Switch', + colProps: { span: 6 }, + defaultValue: 0, componentProps: { - options: [ - { label: '是', value: 0 }, - { label: '否', value: 1 }, - ], + checkedChildren: '启用', + checkedValue: 0, + unCheckedChildren: '禁用', + unCheckedValue: 1, }, }, - { field: 'columnView', label: '关联表',