|
|
@ -149,7 +149,7 @@ let export2Excel = opt => { |
|
|
} |
|
|
} |
|
|
// console.log(ws);
|
|
|
// console.log(ws);
|
|
|
const wb = XLSX.utils.book_new(); |
|
|
const wb = XLSX.utils.book_new(); |
|
|
XLSX.utils.book_append_sheet(wb, ws, "sheet1"); |
|
|
|
|
|
|
|
|
XLSX.utils.book_append_sheet(wb, ws, options.fileName.replace(/\.xlsx/, "")); |
|
|
XLSX.writeFile(wb, options.fileName); |
|
|
XLSX.writeFile(wb, options.fileName); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|