Compare commits

...

2 Commits

Author SHA1 Message Date
左凌
7bae595af8
Merge f2e1932228 into 5ff02b469f 2024-11-15 08:51:11 +08:00
左凌
f2e1932228
Update input-var-list.tsx
Fix problem that the picker can't support show zero
2024-10-29 15:00:54 +08:00

View File

@ -168,7 +168,7 @@ const InputVarList: FC<Props> = ({
readonly={readOnly}
isShowNodeName
nodeId={nodeId}
value={varInput?.type === VarKindType.constant ? (varInput?.value || '') : (varInput?.value || [])}
value={varInput?.type === VarKindType.constant ? (varInput?.value ?? '') : (varInput?.value ?? [])}
onChange={handleNotMixedTypeChange(variable)}
onOpen={handleOpen(index)}
defaultVarKindType={VarKindType.variable}