fix: not show the right output type

This commit is contained in:
Joel 2024-09-20 14:42:53 +08:00
parent edf462c640
commit ce6ae5732a

View File

@ -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>