diff --git a/packages/core/client/src/locale/zh_CN.ts b/packages/core/client/src/locale/zh_CN.ts index 6a55f8938..841677af5 100644 --- a/packages/core/client/src/locale/zh_CN.ts +++ b/packages/core/client/src/locale/zh_CN.ts @@ -504,5 +504,5 @@ export default { 'Updated successfully': '更新成功', 'After successful save': '保存成功后', 'After clicking the custom button, the following field values will be assigned according to the following form.': '点击当前自定义按钮时,以下字段值将按照以下表单赋值。', - 'After clicking the custom button, The following fields of the current record will be saved according to the following form.': '点击当前自定义按钮时,当前数据以下字段将按照以下表单保存。', + 'After clicking the custom button, the following fields of the current record will be saved according to the following form.': '点击当前自定义按钮时,当前数据以下字段将按照以下表单保存。', } diff --git a/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx b/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx index 11e7693e0..55cac46c8 100644 --- a/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx +++ b/packages/core/client/src/schema-component/antd/action/Action.Designer.tsx @@ -47,10 +47,10 @@ export const ActionDesigner = (props) => { const tips = { 'customize:update': t( - 'After clicking the custom button, The following fields of the current record will be saved according to the following form.', + 'After clicking the custom button, the following fields of the current record will be saved according to the following form.', ), 'customize:save': t( - 'After clicking the custom button, The following fields of the current record will be saved according to the following form.', + 'After clicking the custom button, the following fields of the current record will be saved according to the following form.', ), }; return ( @@ -160,7 +160,7 @@ export const ActionDesigner = (props) => { }} /> )} - {isValid(fieldSchema?.['x-action-settings']?.overwriteValues) && ( + {/* {isValid(fieldSchema?.['x-action-settings']?.overwriteValues) && ( { } catch (e) {} }} /> - )} + )} */} {isValid(fieldSchema?.['x-action-settings']?.['onSuccess']) && ( { ctx?.renderSchemaInitializer?.({ insertPosition: 'afterEnd', wrap: rowCtx?.cols?.length > 1 ? undefined : gridRowColWrap, - component: , + component: , })} } {...schemaSettingsProps}> {props.children}