报表iframe引入到vue项目中,调用打印方法时,document.getElementById('prIframe').contentWindow.contentPane.pdfPrint();为什么打印不了,后台报错undefined。大佬们给看看噻。或者实现自动打印还有别的啥方案可行 后台报错DOMException: Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame