瀏覽代碼

fix: tool's file input display string (#10887)

非法操作 8 月之前
父節點
當前提交
f3af7b5f35
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      web/app/components/workflow/nodes/tool/components/input-var-list.tsx

+ 2 - 0
web/app/components/workflow/nodes/tool/components/input-var-list.tsx

@@ -46,6 +46,8 @@ const InputVarList: FC<Props> = ({
   const paramType = (type: string) => {
     if (type === FormTypeEnum.textNumber)
       return 'Number'
+    else if (type === FormTypeEnum.file)
+      return 'File'
     else if (type === FormTypeEnum.files)
       return 'Files'
     else if (type === FormTypeEnum.select)