您好,确认是产品bug,在导出前对json进行一下处理。
var json = spread.toJSON();
for(var pro in json.sheets){
var sheet = json.sheets[pro];
if(sheet && sheet.comments){
for(var comPro in sheet.comments){
var comment = sheet.comments[comPro];
if(!comment.text){
comment.text = ""
}
}
}
}
// here is excel IO API
excelIo.save(json, function (blob) {
...... |