소스 검색

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

le0zh 2 달 전
부모
커밋
ba91f34636
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,