修复Table传columns属性问题
This commit is contained in:
parent
79ca800035
commit
cea5749617
|
@ -132,6 +132,7 @@ export default class Table extends React.Component<TableProps, object> {
|
|||
'itemActions',
|
||||
'combineNum',
|
||||
'items',
|
||||
'columns',
|
||||
'valueField',
|
||||
'saveImmediately',
|
||||
'rowClassName',
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue