帆软报表服务发布IP:http://192.168.0.126:8088/FR/ReportServer Web应用IP:http://localhost:16699/wis/main (vs开发环境运行,没有部署到IIS) 通过如下方法调用打印方法报错 document.getElementById("DayReportIframe").contentWindow.contentPane.flashPrint(); 错误描述: Uncaught DOMException: Blocked a frame with origin "http://localhost:16699" from accessing a cross-origin frame. at Object.printReportInfor (http://localhost:16699/apps/statistics/js/targetReport/cover_195005_list.js:196:69) at HTMLInputElement.<anonymous> (http://localhost:16699/apps/statistics/js/targetReport/cover_195005_list.js:116:35) at HTMLInputElement.dispatch (http://localhost:16699/scripts/jquery-1.10.2.min.js:22:14129) at HTMLInputElement.v.handle (http://localhost:16699/scripts/jquery-1.10.2.min.js:22:10866) |
0
|
|