在iframe中打印内容

时间:2019-01-15 19:59:31

标签: html iframe printing

我正在尝试在iframe中打印内容。我的iframe来源是powerbi报告网址。

<input type="radio" ng-value="false" name="radio1" ng-model="response.answer1" ng-change="answerChanged()"/> No</label>
$scope.answerChanged = function() {
    if($scope.response.answer1 ===  false) $scope.response.answer2 = null
};

当我尝试打印报告时,在contentWindow.print()行上出现拒绝访问错误。请让我知道如何解决这个问题。

0 个答案:

没有答案
相关问题