修复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',
|
'itemActions',
|
||||||
'combineNum',
|
'combineNum',
|
||||||
'items',
|
'items',
|
||||||
|
'columns',
|
||||||
'valueField',
|
'valueField',
|
||||||
'saveImmediately',
|
'saveImmediately',
|
||||||
'rowClassName',
|
'rowClassName',
|
||||||
|
|
|
@ -1153,7 +1153,7 @@ export function chainEvents(props: any, schema: any) {
|
||||||
) {
|
) {
|
||||||
ret[key] = chainFunctions(schema[key], props[key]);
|
ret[key] = chainFunctions(schema[key], props[key]);
|
||||||
} else {
|
} else {
|
||||||
ret[key] = schema[key] ?? props[key];
|
ret[key] = props[key];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue