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
使用文件上传组件上传的pdf文件,相同a href让其可以在线预览,却总是下载该文件,请问如何解决
The text was updated successfully, but these errors were encountered:
我是把后端代码里的FileTypeUtils类里writeAttachment方法的header里的Content-Disposition改成inline
Sorry, something went wrong.
是个思路哈。
inline
改成 inline 有没带来其他问题哈?
类似需要下载的场景,jpg 或者 png,变成了预览。
在请求地址里添加参数控制Content-Disposition,按业务实际需求来确定具体值
YunaiV
No branches or pull requests
使用文件上传组件上传的pdf文件,相同a href让其可以在线预览,却总是下载该文件,请问如何解决
The text was updated successfully, but these errors were encountered: