fix table换为xlsx导出

This commit is contained in:
Theluyuan 2023-11-03 14:27:57 +08:00
parent f7cb79367c
commit 38fb21a80f
4 changed files with 4 additions and 4 deletions

View File

@ -1176,7 +1176,7 @@ const _sfc_main = defineComponent({
function exportElcel(list, header, name) { function exportElcel(list, header, name) {
const ws = utils.json_to_sheet(list, { const ws = utils.json_to_sheet(list, {
header, header,
skipHeader: false skipHeader: true
}); });
console.log(ws); console.log(ws);
var tmpWB = { var tmpWB = {

View File

@ -40003,7 +40003,7 @@ const _sfc_main$D = defineComponent({
function exportElcel(list, header, name) { function exportElcel(list, header, name) {
const ws = utils.json_to_sheet(list, { const ws = utils.json_to_sheet(list, {
header, header,
skipHeader: false skipHeader: true
}); });
console.log(ws); console.log(ws);
var tmpWB = { var tmpWB = {

View File

@ -402,7 +402,7 @@ function exportElcel(list:any,header:any,name:string){
const ws = utils.json_to_sheet(list, { const ws = utils.json_to_sheet(list, {
header, header,
skipHeader: false skipHeader: true
}) })
console.log(ws) console.log(ws)
var tmpWB = { var tmpWB = {

File diff suppressed because one or more lines are too long