SpreadJS设计的模板,放在活字格隐藏单元格的iframe,ctrl+F5显示隐藏单元格运行,使用导出PDF功能时可以正常导出,直接F5运行,导出PDF报错,报错信息:File read and write exception
导出方法:spread.savePDF(
function (blob) {
saveAs(blob, documentName+'.pdf');
},
console.log,
{
title: 'Test Title',
author: 'Test Author',
subject: 'Test Subject',
keywords: 'Test Keywords',
creator: 'test Creator'
})
|
|