We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vben Admin V5
这俩 PR #5436 #5442 优化了 request client 的请求返回数据类型设定,但是好像扩展的 downloader 和 uploader 模块没有做相应的调整,不能支持 responseReturn 参数。
例如 request client 的 responseReturn 设置为 data 时,此时如果有下载接口,返回 Blob ,downloader 的 responseReturn 需要特殊设置为 body 以获取 Blob 对象。甚至如果需要获取下载接口的返回头中的文件名的话,downloader 的 responseReturn 需要特殊设置为 raw 以获取返回头信息。
N/A
System: OS: macOS 15.2 CPU: (12) arm64 Apple M4 Pro Memory: 224.52 MB / 48.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.11.0 - ~/.local/state/fnm_multishells/20928_1737440792441/bin/node npm: 10.9.0 - ~/.local/state/fnm_multishells/20928_1737440792441/bin/npm pnpm: 10.0.0 - /opt/homebrew/bin/pnpm Watchman: 2024.12.02.00 - /opt/homebrew/bin/watchman Browsers: Chrome: 131.0.6778.266 Safari: 18.2
The text was updated successfully, but these errors were encountered:
responseReturn
Successfully merging a pull request may close this issue.
Version
Vben Admin V5
Describe the bug?
这俩 PR #5436 #5442 优化了 request client 的请求返回数据类型设定,但是好像扩展的 downloader 和 uploader 模块没有做相应的调整,不能支持 responseReturn 参数。
例如 request client 的 responseReturn 设置为 data 时,此时如果有下载接口,返回 Blob ,downloader 的 responseReturn 需要特殊设置为 body 以获取 Blob 对象。甚至如果需要获取下载接口的返回头中的文件名的话,downloader 的 responseReturn 需要特殊设置为 raw 以获取返回头信息。
Reproduction
N/A
System Info
Relevant log output
Validations
The text was updated successfully, but these errors were encountered: