@@ -1025,7 +1025,13 @@ let rptControlObj = {
let me = rptControlObj;
rptTplObj.pdfFont['SmartSimsun'].push(fontProperty);
if (rptTplObj.pdfFont['SmartSimsun'].length === 2) {
- me.getPDFEx();
+ if ($('#ini_PDF_cover').is(':visible')) {
+ $("#ini_PDF_Btn_Cancel").trigger("click");
+ }
+ setTimeout(function(){
+ me.getPDFEx();
+ }, 10);
+ // me.getPDFEx();
}
},
getPDFPre: function () {