From 29ec8b29f26b7d4b92cc75820ca7988d464c0185 Mon Sep 17 00:00:00 2001 From: 黄千龙 <huangqianlong@prec-tech.com> Date: 星期二, 29 三月 2022 13:39:07 +0800 Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlyMEBG --- force-app/main/default/pages/InsReportPDF.page | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/pages/InsReportPDF.page b/force-app/main/default/pages/InsReportPDF.page index a58c973..fa829dd 100644 --- a/force-app/main/default/pages/InsReportPDF.page +++ b/force-app/main/default/pages/InsReportPDF.page @@ -230,7 +230,7 @@ iframe.setAttribute('style', 'position:absolute;right:0; top:0; bottom:0; height:100%; width:100%'); document.body.appendChild(iframe); iframe.src = pdf.output('datauristring'); - for(let e of document.body.childNodes){ + for(let ei in document.body.childNodes){let e=document.body.childNodes[ei]; if( e != iframe && e.style){ e.style.display = 'none'; } @@ -307,7 +307,7 @@ unblockUI(); document.getElementById("Responsible_Person__c").innerHTML = data.object.responsiblePerson; - setTimeout(() => { + setTimeout(function(){ jsPdfDownload(); }, 1500); }, staticResources.token); -- Gitblit v1.9.1