Chrome Excel文件下载错误

时间:2015-09-18 15:49:01

标签: php excel google-chrome firefox phpexcel

我使用PHPExcel库从PHP生成excel文件,当它自动下载所有数据时,问题是chrome只显示没有数据的列标题,同时firefox正确下载文件。

在chrome的控制台中出现此消息"资源被解释为文档但使用MIME类型application / vnd.openxmlformats-officedocument.spreadsheetml.sheet进行传输:"

任何人都知道会导致这个问题的原因是什么?感谢

0 个答案:

没有答案