mirror of https://github.com/langgenius/dify.git
fix: iteration output var type
This commit is contained in:
parent
7e2984b6e2
commit
691a7f727a
|
|
@ -50,6 +50,7 @@ const useConfig = (id: string, payload: IterationNodeType) => {
|
|||
[VarType.string]: VarType.arrayString,
|
||||
[VarType.number]: VarType.arrayNumber,
|
||||
[VarType.object]: VarType.arrayObject,
|
||||
[VarType.file]: VarType.arrayFile,
|
||||
} as Record<VarType, VarType>)[outputItemType] || VarType.arrayString
|
||||
})
|
||||
setInputs(newInputs)
|
||||
|
|
|
|||
Loading…
Reference in New Issue