1.0.0 • Published 2 years ago
wyl-excel-export v1.0.0
👇下载
npm i wyl-excel-export -S
📕使用
步骤1:
const excel = require('wyl-excel-export')
步骤2:
点击事件 = function() {
// excel.download(文件名, excel标题, excel数据)
excel.download('测试文件', ["编号", "姓名"], [
{ id: 1, title: "a" },
{ id: 2, title: "b" },
])
}
1.0.0
2 years ago