lsc 1 settimana fa
parent
commit
f79bb29b66
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      js/Desktop/DeskTop.js

+ 5 - 1
js/Desktop/DeskTop.js

@@ -5388,6 +5388,10 @@ U.MD.D.I.openApplication = function (str, obj, info) {
         _TscreenType = 1
     _screenType = 2,
         _SscreenType = 3;
+    let iframeBool = true
+    if(U.UF.UI.form.allForm[str]){
+        iframeBool = false
+    }
     if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
         return;
     }
@@ -7377,7 +7381,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
     if (_taskbar) {
         U.MD.D.T.taskbar(_taskbar); //创建任务处理
     }
-    if(str == "dataBoardNew"){
+    if(iframeBool && str == "dataBoardNew"){
         U.UF.DL.loading($("iframe", _formdiv)[0].parentElement.parentElement)
         let onload = U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
             U.UF.DL.uploading($("iframe", _formdiv)[0].parentElement.parentElement)