JsPDF - 不允许将顶部框架导航到数据网址 [英] JsPDF - Not allowed to navigate top frame to data URL
问题描述
在更新谷歌浏览器后,新窗口中的报告jsPDF不再起作用。
控制台显示消息:
不允许将顶部框架导航到数据URL:
data:application / pdf; base64,JVBERi0xLjMKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJlbnQgMSAwIFIKL1 ....
您能帮我吗?
谢谢。
您可以尝试将jsPDF渲染为iFrame
After updating Google Chrome, the report jsPDF in a new Window does not work any more.
The console shows the message:
Not allowed to navigate top frame to data URL: data:application/pdf;base64,JVBERi0xLjMKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJlbnQgMSAwIFIKL1....
Can you help-me?
Thanks.
Apparently Google Chrome has removed support for top-frame navigation, you can see more informations here: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/GbVcuwg_QjM
You may try to render the jsPDF to an iFrame
这篇关于JsPDF - 不允许将顶部框架导航到数据网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!