diff --git a/packages/amis-editor-core/src/builder/ApiBuilder.ts b/packages/amis-editor-core/src/builder/ApiBuilder.ts index b55a9666a..d322f5fdc 100644 --- a/packages/amis-editor-core/src/builder/ApiBuilder.ts +++ b/packages/amis-editor-core/src/builder/ApiBuilder.ts @@ -519,7 +519,7 @@ class APIBuilder extends DSBuilder { return fields.map((field: any) => ({ type: field.type, title: field.label, - key: field.name, + name: field.name, [field.typeKey || 'value']: '${' + field.name + '}' })); }