提交 e601da38 编写于 作者: P Pan

fix[Excel]: fixed export merge-header excel bug

上级 b8d47bd8
......@@ -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";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册