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]'>
<Field {Object.keys(schema.schema.properties!).map(name => (
name={'response'} <Field
payload={schema.schema} key={name}
required name={name}
/> payload={schema.schema.properties![name]}
required={!!schema.schema.required?.includes(name)}
/>
))}
</div> </div>
) )
} }