0.0.1 • Published 2 years ago
wyb-excel-export v0.0.1
#下载
npm i wyb-excel-export -S
#使用
const excel = require('wyb-excel-export')
点击事件 = function(){
// ...
// excel.download(文件名,标题,数据)
excel.download('测试文件',['编号','姓名'],[
{id:1,title:'a'}
{id:2,title:'b'}
])
//...
}
0.0.1
2 years ago