1.jszip参考资料:https://www.cnblogs.com/youcong/p/10324722.html
api:https://stuk.github.io/jszip/documentation/api_jszip/file_data.html
2.安装file-saver
npm install file-saver --save
参考资料:https://blog.csdn.net/qq_30671099/article/details/104052782?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-2.no_search_link&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-2.no_search_link
var filesaver = require('file-saver')
filesaver.saveAs(content,"car.zip")