Skip to content
New issue

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

excel下载格式变成了zip #55

Closed
aboluo-gy opened this issue Dec 30, 2021 · 2 comments
Closed

excel下载格式变成了zip #55

aboluo-gy opened this issue Dec 30, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@aboluo-gy
Copy link

使用ExcelUtils的write方法生成Excel,调用后生成的是zip不是xlsx
alibaba/easyexcel#225
大佬的注释说明
// 设置 header 和 contentType。写在最后的原因是,避免报错时,响应 contentType 已经被修改了

实际使用情况:
调用后生成的是zip不是xlsx,先设置 header 和 contentType再下载,下载即可正常变成xlsx

@YunaiV
Copy link
Owner

YunaiV commented Dec 30, 2021

get,我研究下。

@YunaiV
Copy link
Owner

YunaiV commented Nov 12, 2022

最近测试了下,没有这个问题噢,可以拉下最新的代码哈。

@YunaiV YunaiV closed this as completed Nov 12, 2022
@YunaiV YunaiV self-assigned this Nov 12, 2022
@YunaiV YunaiV added the question Further information is requested label Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants