1.0.1 • Published 2 years ago
excel-fish v1.0.1
🐝安装一个简单的excel模块
npm i excel-fish -S
🐝使用
> 步骤 1:
cnpm i excel-fish -S
> 步骤 2:
const excel=require('excel-fish')
点击事件 = function(){
//excel.download(文件名,excel标题,excel数据)
excel.download('测试文件',['编号','姓名'],[
{id:1,title:'x'},{id:2,title:'y'}
])
}