chore: output show to multi root

This commit is contained in:
Joel 2025-03-26 16:50:55 +08:00
parent 41232259e1
commit 365e401b27

View File

@ -21,12 +21,15 @@ const ShowPanel: FC<Props> = ({
}, },
} }
return ( return (
<div> <div className='relative left-[-7px]'>
{Object.keys(schema.schema.properties!).map(name => (
<Field <Field
name={'response'} key={name}
payload={schema.schema} name={name}
required payload={schema.schema.properties![name]}
required={!!schema.schema.required?.includes(name)}
/> />
))}
</div> </div>
) )
} }