我使用以下代码在浏览器中创建一个文本文件。当我使用data: text / plain ;charset=utf-8,文本是纯文本时,它可以工作,但是当数据是xls时,我得到一个网络错误,它不工作。我需要注意的是,代码来自https://ourcodeworld.com/articles/read/189/how-to-create-a-file-and-generate-a-download-with-javascript-in-the-browser
如果有帮助,我们正在尝试使用Node.JS的sonarqube-scanner模块。Check it out at https://redirect.sonarsource.com/doc/install-configure-scanner.html
现在,如果您从错误中注意到,二进制文件服务器会遇到