背景: 下载文档后台直接报错,前端弹框显示错误,不要弹出选择文档框
解决:返回头中,把文档的头标签设置为空
原先------------------------
response.setHeader("Content-Disposition", "attachment; " + "filename="+new String(AREA_FILE.getBytes("gb2312"), "ISO-8859-1"));
修改为---------------------
response.setHeader("Content-Disposition", "");
标签:前端,弹框,Content,报错,后台,文档 From: https://www.cnblogs.com/Payne-SeediqBale/p/16858707.html