1.0.0 • Published 1 year ago

matthewgu-excel-export v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

下载

npm i matthewgu-excel-export -s

使用

const excel = require('matthewgu-excel-export')

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

    // excel.download(文件名,excel标题,excel数据);

    excel.download('test',["编号","姓名"],[
        { id: 1, title: "a" },
        { id: 2, title: "b" },
    ]);

    // ...
}