1.0.0 • Published 2 years ago

excel-export-l v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

下载

npm i excel-export-l -S

使用

const excel = require('excel-export-l')
点击事件 = function(){
    excel.download(filename(文件名), title(Excel标题:数组类型), data(Excel数据))
    <!-- excel.download('测试文件',["编号", "姓名"],
    [
      { id: 1, title: "a" },
      { id: 2, title: "b" },
    ]) -->
}