downLoadLoading() {
import('@/vendor/Export2Excel').then(excel => {
excel.export_json_to_excel({
header: ['序号', '姓名', '年龄'], // 表头 必填
data: [
['1', '刘备', 100],
['2', '关羽', 500]
], // 具体数据 必填
filename: 'excel-list', // 非必填
autoWidth: true, // 非必填
bookType: 'xlsx' // 非必填
})
})
},
excel导出
于 2023-11-01 01:28:42 首次发布