1.安装adm-zip npm install adm-zip -D adm-zip : https://github.com/cthackers/adm-zip 2.package.json同级目录新建zip.js Date.prototype.Format = function (fmt) { const o = { "M+": this.getMonth() + 1, // 月份 "d+": this.getDate(), // 日 "h+": this.getHours(), // 小时 "m+": this<