mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 19:35:53 +08:00
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…
x
Reference in New Issue
Block a user