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

This commit is contained in:
非法操作 2024-11-20 12:54:24 +08:00 committed by GitHub
parent 33cfc56ad0
commit f3af7b5f35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)