diff --git a/client/src/pages/kb/detail/components/Import/FileSelect.tsx b/client/src/pages/kb/detail/components/Import/FileSelect.tsx index e52aedd3c..85d3789b9 100644 --- a/client/src/pages/kb/detail/components/Import/FileSelect.tsx +++ b/client/src/pages/kb/detail/components/Import/FileSelect.tsx @@ -109,7 +109,7 @@ const FileSelect = ({ } return ''; })(), - uploadFiles(files, (percent) => { + uploadFiles([file], (percent) => { if (percent < 100) { setSelectingText( t('file.Uploading', { name: file.name.slice(0, 20), percent }) || ''