mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 23:05:51 +08:00
chore: output show to multi root
This commit is contained in:
parent
41232259e1
commit
365e401b27
@ -21,12 +21,15 @@ const ShowPanel: FC<Props> = ({
|
||||
},
|
||||
}
|
||||
return (
|
||||
<div>
|
||||
<Field
|
||||
name={'response'}
|
||||
payload={schema.schema}
|
||||
required
|
||||
/>
|
||||
<div className='relative left-[-7px]'>
|
||||
{Object.keys(schema.schema.properties!).map(name => (
|
||||
<Field
|
||||
key={name}
|
||||
name={name}
|
||||
payload={schema.schema.properties![name]}
|
||||
required={!!schema.schema.required?.includes(name)}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user