mirror of
https://gitee.com/bootx/dax-pay-ui
synced 2026-08-11 07:05:33 +08:00
fix: FormItem won't render when a component is not provided
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user