This commit is contained in:
liaoxuezhi 2019-08-20 23:47:02 +08:00
parent a72765556b
commit b490008113

View File

@ -489,8 +489,7 @@ class SchemaRenderer extends React.Component<SchemaRendererProps, any> {
return React.isValidElement(schema.children) ? schema.children : React.createElement(schema.children as any, { return React.isValidElement(schema.children) ? schema.children : React.createElement(schema.children as any, {
...rest, ...rest,
$path: $path, $path: $path,
render: this.renderChild, render: this.renderChild
ref: this.refFn,
}); });
} else if (!this.renderer) { } else if (!this.renderer) {
return ( return (