lsc 1 anno fa
parent
commit
782b2f47fb
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      js/Desktop/DeskTop.js

+ 2 - 1
js/Desktop/DeskTop.js

@@ -2477,6 +2477,7 @@ window.addEventListener('message', function(e) { // 监听 message 事件
     } else if (e.data.tools && e.data.tools == "opencCscl") {
         let _data = {
             cid:e.data.cid || '',
+            gid:e.data.gid || '',
         }
         U.MD.D.I.openInApplication("opencCscl", _data)
     }
@@ -2672,7 +2673,7 @@ U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
                         } else {
                             _formdiv = new U.UF.UI.form(
                                 "协同建构",
-                                $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid="+  data.cid }), {
+                                $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid="+  data.cid + "&gid=" + data.gid }), {
                                     "id": "opencCscl",
                                     "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                                     "onresize": function() {}