fix[Excel]: fixed export merge-header excel bug
This commit is contained in:
parent
686d0acd6d
commit
c93d88a348
|
@ -158,8 +158,8 @@ export function export_json_to_excel({
|
|||
data = [...data]
|
||||
data.unshift(header);
|
||||
|
||||
for (let header of multiHeader) {
|
||||
data.unshift(header)
|
||||
for (let i = multiHeader.length-1; i > -1; i--) {
|
||||
data.unshift(multiHeader[i])
|
||||
}
|
||||
|
||||
var ws_name = "SheetJS";
|
||||
|
|
Loading…
Reference in New Issue