mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
fix z-index
This commit is contained in:
@ -11,6 +11,7 @@ type Props = {
|
||||
value: ToolVarInputs
|
||||
onChange: (value: ToolVarInputs) => void
|
||||
onOpen?: (index: number) => void
|
||||
inPanel?: boolean
|
||||
}
|
||||
|
||||
const ToolForm: FC<Props> = ({
|
||||
@ -19,6 +20,7 @@ const ToolForm: FC<Props> = ({
|
||||
schema,
|
||||
value,
|
||||
onChange,
|
||||
inPanel,
|
||||
}) => {
|
||||
return (
|
||||
<div className='space-y-1'>
|
||||
@ -31,6 +33,7 @@ const ToolForm: FC<Props> = ({
|
||||
schema={schema}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
inPanel={inPanel}
|
||||
/>
|
||||
))
|
||||
}
|
||||
|
||||
@ -19,6 +19,7 @@ type Props = {
|
||||
schema: CredentialFormSchema
|
||||
value: ToolVarInputs
|
||||
onChange: (value: ToolVarInputs) => void
|
||||
inPanel?: boolean
|
||||
}
|
||||
|
||||
const ToolFormItem: FC<Props> = ({
|
||||
@ -27,6 +28,7 @@ const ToolFormItem: FC<Props> = ({
|
||||
schema,
|
||||
value,
|
||||
onChange,
|
||||
inPanel,
|
||||
}) => {
|
||||
const language = useLanguage()
|
||||
const { name, label, type, required, tooltip, input_schema } = schema
|
||||
@ -78,6 +80,7 @@ const ToolFormItem: FC<Props> = ({
|
||||
schema={schema}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
inPanel={inPanel}
|
||||
/>
|
||||
|
||||
{isShowSchema && (
|
||||
|
||||
Reference in New Issue
Block a user