mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:28:20 +08:00
rm ref
This commit is contained in:
parent
a72765556b
commit
b490008113
@ -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 (
|
||||||
|
Loading…
Reference in New Issue
Block a user