您的位置: 首页 > 文章 > Can‘t find end of central directory:is this a zip file? Can‘t find end of central directory:is this a zip file? 分类: 文章 • 2023-02-01 00:30:02 Can‘t find end of central directory:is this a zip file?导出word模板遇到的错误 JSZipUtils.getBinaryContent(‘templete.docx’, (error, content) => {})调用时报错, 引入模板路径有问题,改为JSZipUtils.getBinaryContent(’/templete.docx’, (error, content) => {})即可