瀏覽代碼

Update input-var-list.tsx (#9987)

tags/0.14.2
左凌 10 月之前
父節點
當前提交
7a00798027
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web/app/components/workflow/nodes/tool/components/input-var-list.tsx

+ 1
- 1
web/app/components/workflow/nodes/tool/components/input-var-list.tsx 查看文件

@@ -162,7 +162,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={varInput?.type || (isNumber ? VarKindType.constant : VarKindType.variable)}

Loading…
取消
儲存