lsc 1 год назад
Родитель
Сommit
18f83557f6
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      js/Desktop/DeskTop.js

+ 3 - 0
js/Desktop/DeskTop.js

@@ -6274,8 +6274,10 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
                 _iframe.contentDocument.location.reload()
             }
         } else if (str == 'whiteboard') {
+            alert('1')
             _iframe = _formdiv.querySelector('iframe')
             let onloadListener = _iframe.onload = () => {
+                alert('3')
                 _iframe.contentWindow.document.body.appendChild(script1);
                 _iframe.contentWindow.document.body.appendChild(script2);
                 _iframe.contentWindow.document.body.appendChild(script4);
@@ -6285,6 +6287,7 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
                 try {
                     _iframe.src += "?cocorobo="+new Date().getTime()
                     _iframe.contentWindow.document.location.reload()
+                    alert('2')
                 } catch (error) {
                 }
             } else {