diff --git a/packages/yunti-ui-lowcode-materials/lowcode/MonacoEditor/meta.ts b/packages/yunti-ui-lowcode-materials/lowcode/MonacoEditor/meta.ts index c5578c1..3341e83 100644 --- a/packages/yunti-ui-lowcode-materials/lowcode/MonacoEditor/meta.ts +++ b/packages/yunti-ui-lowcode-materials/lowcode/MonacoEditor/meta.ts @@ -34,6 +34,21 @@ export const MonacoEditorMeta: IPublicTypeComponentMetadata = { defaultValue: 'javascript', setter: Setters.StringSetter, }, + { + name: 'value', + title: { + label: 'value 值', + }, + setter: Setters.TextAreaSetter, + }, + { + name: 'original', + title: { + label: '原始值', + tip: 'original 原始值,仅 DiffEditor 可用', + }, + setter: Setters.TextAreaSetter, + }, { name: 'width', title: { @@ -101,7 +116,6 @@ export const MonacoEditorMeta: IPublicTypeComponentMetadata = { setter: { ...Setters.RadioGroupSetter, props: { - defaultValue: 'off', options: ['on', 'off', 'auto'], }, },