mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:28:20 +08:00
属性错误
This commit is contained in:
parent
529b483510
commit
ddca76b1a9
@ -510,7 +510,7 @@ class SchemaRenderer extends React.Component<SchemaRendererProps, any> {
|
||||
render: this.renderChild
|
||||
});
|
||||
} else if (typeof schema.component === 'function') {
|
||||
return React.createElement(schema.children as any, {
|
||||
return React.createElement(schema.component as any, {
|
||||
...rest,
|
||||
$path: $path,
|
||||
render: this.renderChild
|
||||
|
Loading…
Reference in New Issue
Block a user