2022年5月25日

摘要: 1. 转换完后未显示图片 原因:wkhtmltopdf 模块默认情况下禁用本地文件访问 解决方案:pdfkit.from_string的执行语句加入参数 options={'encoding': "UTF-8", 'enable-local-file-access': True} 如: pdfkit 阅读全文
posted @ 2022-05-25 11:47 公元12956 阅读(1611) 评论(0) 推荐(0) 编辑

导航