From ccb227fbec5c72e8182097078de759860a8f1570 Mon Sep 17 00:00:00 2001 From: toruksmakto <42709228+toruksmakto@users.noreply.github.com> Date: Tue, 19 Mar 2019 18:33:59 +0800 Subject: [PATCH] fix[Excel]: fixed export bug (#1736) --- src/vendor/Export2Excel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vendor/Export2Excel.js b/src/vendor/Export2Excel.js index 3a2e8aed..20784f3a 100644 --- a/src/vendor/Export2Excel.js +++ b/src/vendor/Export2Excel.js @@ -145,11 +145,11 @@ export function export_table_to_excel(id) { } export function export_json_to_excel({ - multiHeader, + multiHeader = [], header, data, filename, - merges, + merges = [], autoWidth = true, bookType= 'xlsx' } = {}) {