mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-19 04:55:55 +08:00
fix: not show the right output type
This commit is contained in:
parent
edf462c640
commit
ce6ae5732a
@ -43,7 +43,7 @@ const Panel: FC<NodePanelProps<DocExtractorNodeType>> = ({
|
|||||||
<OutputVars>
|
<OutputVars>
|
||||||
<VarItem
|
<VarItem
|
||||||
name='text'
|
name='text'
|
||||||
type='string'
|
type={inputs.is_array_file ? 'array[string]' : 'string'}
|
||||||
description={t(`${i18nPrefix}.outputVars.text`)}
|
description={t(`${i18nPrefix}.outputVars.text`)}
|
||||||
/>
|
/>
|
||||||
</OutputVars>
|
</OutputVars>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user