mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +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>
|
||||
<VarItem
|
||||
name='text'
|
||||
type='string'
|
||||
type={inputs.is_array_file ? 'array[string]' : 'string'}
|
||||
description={t(`${i18nPrefix}.outputVars.text`)}
|
||||
/>
|
||||
</OutputVars>
|
||||
|
|
Loading…
Reference in New Issue
Block a user