diff --git a/src/renderers/Table.tsx b/src/renderers/Table.tsx index 1cd649f4..0298c88b 100644 --- a/src/renderers/Table.tsx +++ b/src/renderers/Table.tsx @@ -132,6 +132,7 @@ export default class Table extends React.Component { 'itemActions', 'combineNum', 'items', + 'columns', 'valueField', 'saveImmediately', 'rowClassName', diff --git a/src/utils/helper.ts b/src/utils/helper.ts index 3376faa2..5f9a300c 100644 --- a/src/utils/helper.ts +++ b/src/utils/helper.ts @@ -1153,7 +1153,7 @@ export function chainEvents(props: any, schema: any) { ) { ret[key] = chainFunctions(schema[key], props[key]); } else { - ret[key] = schema[key] ?? props[key]; + ret[key] = props[key]; } });