Browse Source

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

le0zh 2 months ago
parent
commit
ba91f34636
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/app/components/base/file-uploader/hooks.ts

+ 1 - 1
web/app/components/base/file-uploader/hooks.ts

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