diff --git a/packages/core/client/src/modules/blocks/data-blocks/table/TableActionColumnInitializers.tsx b/packages/core/client/src/modules/blocks/data-blocks/table/TableActionColumnInitializers.tsx index fbb28cf7f..4bc141294 100644 --- a/packages/core/client/src/modules/blocks/data-blocks/table/TableActionColumnInitializers.tsx +++ b/packages/core/client/src/modules/blocks/data-blocks/table/TableActionColumnInitializers.tsx @@ -44,7 +44,7 @@ export const Resizable = () => { 'x-decorator': 'FormItem', 'x-component': 'InputNumber', 'x-component-props': {}, - default: fieldSchema?.['x-component-props']?.width || 200, + default: fieldSchema?.['x-component-props']?.width || 20, }, }, } as ISchema diff --git a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx index 54fcd3485..b186714ad 100644 --- a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx +++ b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx @@ -68,7 +68,7 @@ const useTableColumns = (props: { showDel?: boolean; isSubTable?: boolean }) => dataIndex, key: s.name, sorter: s['x-component-props']?.['sorter'], - width: 200, + width: 20, ...s['x-component-props'], render: (v, record) => { const index = field.value?.indexOf(record);