Skip to content

Upload组件response是否经过转换变成string #8096

@984958198

Description

@984958198
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

windows11、Google Chrome、vue3

Reproduction link

https://next.antdv.com/components/upload-cn

Steps to reproduce

请求响应 content-length: 112465
控制台打印response : typeof='string' length=107088

What is expected?

Upload组件上传文件,服务端也返回文件能够自动下载或者能够拿到原始response

What is actually happening?

response是否被处理?即便我用window.URL.createObjectURL(blob)方式下载的文件也是错的,能保证服务端过来的文件是完好的用get请求试过

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions