下载 ⚡
npm i web886-excel -S
使用 💕
const excel=require('web886-excel-export')
点击事件=function(){
//excel.download(文件名,excel标题,excel数据)
excel.download('测试文件',['编号','文件名'],[
{id:1,title:'a'},
{id:2,title:'b'}
])
}
npm i web886-excel -S
const excel=require('web886-excel-export')
点击事件=function(){
//excel.download(文件名,excel标题,excel数据)
excel.download('测试文件',['编号','文件名'],[
{id:1,title:'a'},
{id:2,title:'b'}
])
}
npm i web886-excel
0
1.0.1
ISC
2.1 kB
3