-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
如题,demo.xlsx打开之后再write就会显示损坏
最终定位到是 A1 单元格有奇怪的样式(具体什么样式不清楚,最终用户的excel不停删除单元格定位出来的)
`
const ExcelJS = require('excelize');
(async()=>{
const workbook = new ExcelJS.Workbook();
const wb = await workbook.xlsx.readFile('demo.xlsx');
const sheet = wb.worksheets[0];
//这里对 sheet 单元格的write操作不是必须的
await output.xlsx'); //output.xlsx 用office excel打开会提示损坏
})();
`
Metadata
Metadata
Assignees
Labels
No labels