问题
测试环境发现导出的文件无法正常打开
之前导出能打开
排查
发现poi由3.x升级为4.x
本地后端调试生成excel文件能正常打开,经过浏览器也能下载
初步定位因升级依赖版本,前端需调整
解决
前端小姐姐调整接收形式解决成功
responseType: 'blob',
参考链接:
https://blog.csdn.net/weixin_42153793/article/details/114210009
https://blog.csdn.net/Aiou_W/article/details/113180639
https://www.likecs.com/show-854742.html
https://www.likecs.com/show-204676568.html