no message

Former-commit-id: c75f3d068ebe0888902bef7150193764a7e26d9d
Former-commit-id: 5b11f1da7c89e9dc39db63f3b518e36d1fcc8ae9
Former-commit-id: baf21a12c3f3ee08f4bdee2e7eb1916e7da78cb5
This commit is contained in:
李杨
2018-02-11 22:16:42 +08:00
parent 3d0b998ea0
commit 5bcc00dc8a
4 changed files with 11 additions and 7 deletions

View File

@@ -150,6 +150,6 @@ export function export_json_to_excel(th, jsonData, defaultTitle) {
wb.Sheets[ws_name] = ws;
var wbout = XLSX.write(wb, {bookType: 'xlsx', bookSST: false, type: 'binary'});
var title = defaultTitle || 'excel-list'
var title = defaultTitle || 'table'
FileSaver.saveAs(new Blob([s2ab(wbout)], {type: "application/octet-stream"}), title + ".xlsx")
}