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