1.0.0 • Published 2 years ago

webopenuncle-excel-export v1.0.0

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

下载

npm i webopenuncle-excel-export -S

下载

const excel = require("webopenuncle-excel-export")

点击事件 = function() {
     //...

     //excel.download(文件名,excel标题数组类型,excel数据)

     excel.download("测试文件",["编号", "姓名"],[
     { id: 1, title: "a" },
     { id: 2, title: "b" },
     ])

     //...
}