diff --git a/lerna.json b/lerna.json index 61214a5df9..5691827493 100644 --- a/lerna.json +++ b/lerna.json @@ -2,9 +2,7 @@ "version": "1.2.28-alpha", "npmClient": "yarn", "useWorkspaces": true, - "npmClientArgs": [ - "--ignore-engines" - ], + "npmClientArgs": ["--ignore-engines"], "command": { "version": { "forcePublish": true, diff --git a/packages/core/client/src/schema-component/antd/table-v2/Table.Column.Decorator.tsx b/packages/core/client/src/schema-component/antd/table-v2/Table.Column.Decorator.tsx index 4555151157..2855294bbf 100644 --- a/packages/core/client/src/schema-component/antd/table-v2/Table.Column.Decorator.tsx +++ b/packages/core/client/src/schema-component/antd/table-v2/Table.Column.Decorator.tsx @@ -66,20 +66,10 @@ export const TableColumnDecorator = (props) => { > - {/* */} -
{field?.title || compile(uiSchema?.title)}
- {/*
{ - field.title = uid(); - // columnSchema.title = field.title = field.title; - // refresh(); - // field.query(`.*.${fieldSchema.name}`).take((f) => { - // f.componentProps.dateFormat = 'YYYY-MM-DD'; - // }); - }} - > - Edit -
*/} + + {fieldSchema?.required && *} + {field?.title || compile(uiSchema?.title)} +
);