属性错误

This commit is contained in:
liaoxuezhi 2019-09-20 11:41:28 +08:00
parent 529b483510
commit ddca76b1a9

View File

@ -510,7 +510,7 @@ class SchemaRenderer extends React.Component<SchemaRendererProps, any> {
render: this.renderChild render: this.renderChild
}); });
} else if (typeof schema.component === 'function') { } else if (typeof schema.component === 'function') {
return React.createElement(schema.children as any, { return React.createElement(schema.component as any, {
...rest, ...rest,
$path: $path, $path: $path,
render: this.renderChild render: this.renderChild