0
只读文件
它是更多钞票,以创建一个使用filesaver只读txt文件?创建使用filesaver.js
var blob = new Blob(["Hello, world!"], {type: "text/plain;charset=utf-8"});
saveAs(blob, "hello world.txt");
谢谢你,有什么意见,我可以试试吗? –
你想达到什么目的? ['JSzip'](https://raw.githubusercontent.com/Stuk/jszip/master/dist/jszip.js)似乎设置了创建'.zip'文件的权限 – guest271314
我需要为银行结果生成txt文件使用JavaScript,但该文件必须是只读的。我没有选择。 –