easonfather-excel-export
v1.0.0
Published
``` npm i easonfather-excel-export -S ```
Readme
下载
npm i easonfather-excel-export -S使用
const excel = require('easonfather-excel-export')
点击事件 = function() => {
//excel.download(文件名,excel标题,excel数据)
excel.download(文件名,
["标题1",...,"标题n"],
[
{id:xxx,title:xxx},
{id:xxx,title:xxx},
{id:xxx,title:xxx},
{id:xxx,title:xxx}
]
)
}