fix: FormItem won't render when a component is not provided
This commit is contained in:
parent
2db4cfbd33
commit
9e055ad273
|
|
@ -423,7 +423,7 @@
|
|||
|
||||
return () => {
|
||||
const { colProps = {}, colSlot, renderColContent, component, slot } = props.schema;
|
||||
if (!component || (!componentMap.has(component) && !slot)) {
|
||||
if (!((component && componentMap.has(component)) || slot)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue