mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
属性错误
This commit is contained in:
parent
4a2db23908
commit
b59d60f8b2
@ -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