Skip to content

Commit d3af0e9

Browse files
authored
fix: handleLoadFileFromLink's transfer method incorrect (langgenius#11197)
1 parent 2feb44e commit d3af0e9

File tree

1 file changed

+1
-1
lines changed
  • web/app/components/base/file-uploader

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export const useFile = (fileConfig: FileUpload) => {
211211
type: '',
212212
size: 0,
213213
progress: 0,
214-
transferMethod: TransferMethod.local_file,
214+
transferMethod: TransferMethod.remote_url,
215215
supportFileType: '',
216216
url,
217217
isRemote: true,

0 commit comments

Comments
 (0)