fix(web): update the tip in the file-uploader component (#27452)

This commit is contained in:
yangzheli
2025-10-26 19:26:09 +08:00
committed by GitHub
parent 82be305680
commit 417ebd160b
2 changed files with 3 additions and 3 deletions

View File

@@ -324,7 +324,7 @@ const FileUploader = ({
<div>{t('datasetCreation.stepOne.uploader.tip', {
size: fileUploadConfig.file_size_limit,
supportTypes: supportTypesShowNames,
batchCount: fileUploadConfig.batch_count_limit,
batchCount: notSupportBatchUpload ? 1 : fileUploadConfig.batch_count_limit,
})}</div>
{dragging && <div ref={dragRef} className='absolute left-0 top-0 h-full w-full' />}
</div>