mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 06:55: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 (
|
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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user