库:ExcelJS ,FileSaver.js https://github.com/exceljs/exceljs/blob/master/README_zh.md https://github.com/eligrey/FileSaver.js 安装: npm install exceljs npm install file-saver --save