diff --git a/packages/amis-editor/src/plugin/Form/Checkbox.tsx b/packages/amis-editor/src/plugin/Form/Checkbox.tsx index b98b82c6e..a5b19cd45 100644 --- a/packages/amis-editor/src/plugin/Form/Checkbox.tsx +++ b/packages/amis-editor/src/plugin/Form/Checkbox.tsx @@ -148,14 +148,14 @@ export class CheckboxControlPlugin extends BasePlugin { needDeleteProps: ['option'], label: '默认勾选', rendererWrapper: true, // 浅色线框包裹一下,增加边界感 - valueType: 'boolean', - pipeIn: (value: any, data: any) => { - return value === (data?.data?.trueValue ?? true); - }, - pipeOut: (value: any, origin: any, data: any) => { - const {trueValue = true, falseValue = false} = data; - return value ? trueValue : falseValue; - } + valueType: 'boolean' + // pipeIn: (value: any, data: any) => { + // return value === (data?.data?.trueValue ?? true); + // }, + // pipeOut: (value: any, origin: any, data: any) => { + // const {trueValue = true, falseValue = false} = data; + // return value ? trueValue : falseValue; + // } }), getSchemaTpl('labelRemark'), getSchemaTpl('remark'),