lsc 2 năm trước cách đây
mục cha
commit
30823eb1b5
1 tập tin đã thay đổi với 10 bổ sung1 xóa
  1. 10 1
      js/Desktop/DeskTop.js

+ 10 - 1
js/Desktop/DeskTop.js

@@ -2298,7 +2298,7 @@ U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
         },
         "innerHTML": "提交作业"
     })
-
+    let aTool = ''
     let _loading = document.createElement('div')
     _loading.style = "width:100%;height:100%;background:#0000008f;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
         //  _loading.id = "";
@@ -2324,6 +2324,7 @@ U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
     _box.id = str + '_loadLi'
     switch (str) {
         case "whiteboard":
+            aTool = 1;
             _iframe = $$("iframe", {
                 "frameborder": "no",
                 "border": "0",
@@ -2365,6 +2366,7 @@ U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
             }
             break;
         case "mind":
+            aTool = 3;
             _iframe = $$("iframe", {
                 "frameborder": "no",
                 "border": "0",
@@ -2406,6 +2408,7 @@ U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
             }
             break;
         case "MindMap":
+            aTool = 3;
             _iframe = $$("iframe", {
                 "frameborder": "no",
                 "border": "0",
@@ -2447,6 +2450,7 @@ U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
             }
             break;
         case "doc":
+            aTool = 6;
             _iframe = $$("iframe", {
                 "frameborder": "no",
                 "border": "0",
@@ -2492,6 +2496,7 @@ U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
             }
             break;
         case "mindNetwork": //好友打开
+            aTool = 7;
             _iframe = $$("iframe", {
                 "webkitallowfullscreen": "",
                 "mozallowfullscreen": "",
@@ -2662,6 +2667,10 @@ U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
                 "'" +
                 str + '_loadLi' +
                 "'" +
+                ", " +
+                "'" +
+                aTool +
+                "'" +
                 ")\n" +
                 " });\n" +
                 "}\n" +