lsc 11 месяцев назад
Родитель
Сommit
badd7b5afd
1 измененных файлов с 27 добавлено и 11 удалено
  1. 27 11
      js/Desktop/DeskTop.js

+ 27 - 11
js/Desktop/DeskTop.js

@@ -5737,7 +5737,7 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
                 "style": {
                     "cssText": "border:0;width:100%;height:100%"
                 },
-                "src": "https://beta.iwb.cocorobo.cn/"
+                "src": "https://beta.iwb.cocorobo.cn?cocorobo="+new Date().getTime()
             })
             _box.appendChild(_iframe);
             _box.appendChild(_jie);
@@ -6052,7 +6052,11 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
                 U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
             };
             if (onloadListener) {
-                _iframe.contentDocument.location.reload()
+                try {
+                    _iframe.src += ""
+                    _iframe.contentWindow.document.location.reload()
+                } catch (error) {
+                }
             } else {
                 _iframe.contentDocument.location.reload()
             }
@@ -6195,7 +6199,7 @@ U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
                 "style": {
                     "cssText": "border:0;width:100%;height:100%"
                 },
-                "src": "https://beta.iwb.cocorobo.cn/"
+                "src": "https://beta.iwb.cocorobo.cn?cocorobo="+new Date().getTime()
             })
             _box.appendChild(_iframe);
             _box.appendChild(_jie);
@@ -6510,7 +6514,11 @@ U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
                 U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
             };
             if (onloadListener) {
-                _iframe.contentDocument.location.reload()
+                try {
+                    _iframe.src += ""
+                    _iframe.contentWindow.document.location.reload()
+                } catch (error) {
+                }
             } else {
                 _iframe.contentDocument.location.reload()
             }
@@ -6653,7 +6661,7 @@ U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, stud
                 "style": {
                     "cssText": "border:0;width:100%;height:100%"
                 },
-                "src": "https://beta.iwb.cocorobo.cn/"
+                "src": "https://beta.iwb.cocorobo.cn?cocorobo="+new Date().getTime()
             })
             _box.appendChild(_iframe);
             _box.appendChild(_jie);
@@ -7109,7 +7117,7 @@ U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, stu
                 "style": {
                     "cssText": "border:0;width:100%;height:100%"
                 },
-                "src": "https://beta.iwb.cocorobo.cn/"
+                "src": "https://beta.iwb.cocorobo.cn?cocorobo="+new Date().getTime()
             })
             _box.appendChild(_iframe);
             _box.appendChild(_jie);
@@ -7424,7 +7432,11 @@ U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, stu
                 U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
             };
             if (onloadListener) {
-                _iframe.contentDocument.location.reload()
+                try {
+                    _iframe.src += ""
+                    _iframe.contentWindow.document.location.reload()
+                } catch (error) {
+                }
             } else {
                 _iframe.contentDocument.location.reload()
             }
@@ -7610,7 +7622,7 @@ U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
                 "style": {
                     "cssText": "border:0;width:100%;height:100%"
                 },
-                "src": "https://beta.iwb.cocorobo.cn/"
+                "src": "https://beta.iwb.cocorobo.cn?cocorobo="+new Date().getTime()
             })
             _box.appendChild(_iframe);
             _box.appendChild(_jie);
@@ -7915,7 +7927,7 @@ U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
                 "style": {
                     "cssText": "border:0;width:100%;height:100%"
                 },
-                "src": "https://beta.iwb.cocorobo.cn/"
+                "src": "https://beta.iwb.cocorobo.cn?cocorobo="+new Date().getTime()
             })
             _box.appendChild(_iframe);
             _box.appendChild(_jie);
@@ -8220,7 +8232,7 @@ U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
                 "style": {
                     "cssText": "border:0;width:100%;height:100%"
                 },
-                "src": "https://beta.iwb.cocorobo.cn/"
+                "src": "https://beta.iwb.cocorobo.cn?cocorobo="+new Date().getTime()
             })
             _box.appendChild(_iframe);
             _box.appendChild(_jie);
@@ -8416,7 +8428,11 @@ U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
                 U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
             })
             if (onloadListener) {
-                _iframe.contentDocument.location.reload()
+                try {
+                    _iframe.src += ""
+                    _iframe.contentWindow.document.location.reload()
+                } catch (error) {
+                }
             } else {
                 _iframe.contentDocument.location.reload()
             }