From d3af0e9090e71d5ef192706b85d8be9bdc513f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=9E=E6=B3=95=E6=93=8D=E4=BD=9C?= Date: Fri, 29 Nov 2024 09:37:50 +0800 Subject: [PATCH] fix: handleLoadFileFromLink's transfer method incorrect (#11197) --- web/app/components/base/file-uploader/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/base/file-uploader/hooks.ts b/web/app/components/base/file-uploader/hooks.ts index 256202d7836c08..b4c8fe10088a62 100644 --- a/web/app/components/base/file-uploader/hooks.ts +++ b/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,