标签: javascript angularjs
var target = document.getElementById('printPDF'); target.contentWindow.document.execCommand('print',false,null);