Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit df655015
authored
Aug 08, 2025
by
lighua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 优化文件下载器方法
1 parent
9fc59443
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
packages/effects/request/src/request-client/modules/downloader.ts
packages/effects/request/src/request-client/modules/downloader.ts
View file @
df65501
...
...
@@ -28,11 +28,12 @@ class FileDownloader {
):
Promise
<
T
>
{
const
finalConfig
:
DownloadRequestConfig
=
{
responseReturn
:
'body'
,
method
:
'GET'
,
...
config
,
responseType
:
'blob'
,
};
const
response
=
await
this
.
client
.
ge
t
<
T
>
(
url
,
finalConfig
);
const
response
=
await
this
.
client
.
reques
t
<
T
>
(
url
,
finalConfig
);
return
response
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment