摘要:
使用jszip这个项目实现的:https://github.com/Stuk/jszip FileSaver.js项目地址是:https://github.com/eligrey/FileSaver.js/ ``` // 初始化一个zip打包对象 var zip = new JSZip(); // 阅读全文
摘要:
<input type="file" id="choose" accept="application/pdf"> var file = document.getElementById('choose') file.onchange = function () { var reader = new F 阅读全文