fix: incorrect transferMethod assignment for remote file (#13286)

This commit is contained in:
le0zh 2025-02-06 19:32:21 +08:00 committed by GitHub
parent 16865d43a8
commit ba91f34636
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -211,7 +211,7 @@ export const useFile = (fileConfig: FileUpload) => {
type: '', type: '',
size: 0, size: 0,
progress: 0, progress: 0,
transferMethod: TransferMethod.local_file, transferMethod: TransferMethod.remote_url,
supportFileType: '', supportFileType: '',
url, url,
isRemote: true, isRemote: true,