修改输出

This commit is contained in:
Cheney 2024-12-12 21:15:54 +08:00
parent 8f30450ec3
commit ded3a98a22

View File

@ -81,4 +81,4 @@ for (let record of jsonData) {
const worksheetout = XLSX.utils.json_to_sheet(jsonData); const worksheetout = XLSX.utils.json_to_sheet(jsonData);
const workbookout = XLSX.utils.book_new(); const workbookout = XLSX.utils.book_new();
XLSX.utils.book_append_sheet(workbookout, worksheetout, 'Sheet1'); XLSX.utils.book_append_sheet(workbookout, worksheetout, 'Sheet1');
XLSX.writeFile(workbookout, '../test.xlsx'); XLSX.writeFile(workbookout, path + '/1.团队开票申请表.done.xlsx');