diff --git a/packages/core/client/src/modules/details-multi-data/__e2e__/schemaSettings.test.ts b/packages/core/client/src/modules/details-multi-data/__e2e__/schemaSettings.test.ts index 346c6a25c..bf8567e0c 100644 --- a/packages/core/client/src/modules/details-multi-data/__e2e__/schemaSettings.test.ts +++ b/packages/core/client/src/modules/details-multi-data/__e2e__/schemaSettings.test.ts @@ -21,7 +21,7 @@ test.describe('multi data details block schema settings', () => { 'Edit block title', 'Set the data scope', 'Set default sorting rules', - 'Save as block template', + 'Save as template', 'Delete', ], }); diff --git a/packages/core/client/src/schema-component/antd/form-v2/Form.Settings.tsx b/packages/core/client/src/schema-component/antd/form-v2/Form.Settings.tsx index 939c38d82..7ba151346 100644 --- a/packages/core/client/src/schema-component/antd/form-v2/Form.Settings.tsx +++ b/packages/core/client/src/schema-component/antd/form-v2/Form.Settings.tsx @@ -14,6 +14,7 @@ import { SchemaSettingsFormItemTemplate, SchemaSettingsDataScope, SchemaSettingsBlockTitleItem, + SchemaSettingsTemplate, } from '../../../schema-settings'; export const formSettings = new SchemaSettings({ @@ -277,8 +278,8 @@ export const formDetailsSettings = new SchemaSettings({ }, }, { - name: 'formItemTemplate', - Component: SchemaSettingsFormItemTemplate, + name: 'template', + Component: SchemaSettingsTemplate, useComponentProps() { const { name } = useCollection(); const fieldSchema = useFieldSchema();