mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 20:59:00 +08:00
fix: tool's file input display string (#10887)
This commit is contained in:
parent
33cfc56ad0
commit
f3af7b5f35
@ -46,6 +46,8 @@ const InputVarList: FC<Props> = ({
|
|||||||
const paramType = (type: string) => {
|
const paramType = (type: string) => {
|
||||||
if (type === FormTypeEnum.textNumber)
|
if (type === FormTypeEnum.textNumber)
|
||||||
return 'Number'
|
return 'Number'
|
||||||
|
else if (type === FormTypeEnum.file)
|
||||||
|
return 'File'
|
||||||
else if (type === FormTypeEnum.files)
|
else if (type === FormTypeEnum.files)
|
||||||
return 'Files'
|
return 'Files'
|
||||||
else if (type === FormTypeEnum.select)
|
else if (type === FormTypeEnum.select)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user