yl-excel-export
v1.0.2
Published
excel download
Downloads
2
Maintainers
Readme
##下载
npm i yl-excel-export -S
##使用
const excel = require('yl-excel-export')
点击事件 = function() {
//....
// excel.download(文件名, excel标题, excel数据)
excel.download('测试文件', ["编号", "姓名"], [
{ id: 1, title: "a" },
{ id: 2, title: "b" },
])
// ....
}