Browse Source

冲突处理

TonyKang 4 years ago
parent
commit
00715e1640
1 changed files with 3 additions and 1 deletions
  1. 3 1
      web/building_saas/report/js/rpt_main.js

+ 3 - 1
web/building_saas/report/js/rpt_main.js

@@ -667,7 +667,9 @@ let rptControlObj = {
         rptTplObj.pdfFont['SmartSimsun'].push(fontProperty);
         if (rptTplObj.pdfFont['SmartSimsun'].length === 2) {
             me._hidePdfIniPage();
-            setTimeout(me.getPDFEx(), 100); // 100毫秒足够关闭PDF初始化page了吧
+            setTimeout(function() {
+                me.getPDFEx();
+            }, 200); // 200毫秒足够关闭PDF初始化page了,另:不能直接把me.getPDFEx()作为函数放进来,否则容易冲突
         }
     },
     getPDFPre: function () {