SanHQin 3 hafta önce
ebeveyn
işleme
2e64ca7511
1 değiştirilmiş dosya ile 2 ekleme ve 5 silme
  1. 2 5
      js/Desktop/DeskTop.js

+ 2 - 5
js/Desktop/DeskTop.js

@@ -11228,7 +11228,7 @@ U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
                 text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
                 type = '4'
             } else if (aTool == 73) {
-								text = _iframe.contentWindow.window.exportJSON()
+								text = JSON.stringify(_iframe.contentWindow.window.exportJSON())
 								type = '5'
 					}
             _loading.style.display = 'flex'
@@ -11300,10 +11300,7 @@ U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
                     iframe.contentWindow.h.app.updateScene({ elements: [] })
                 } else if (type == '4') {
                     iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
-                }else if (type == '5') {
-									console.log("设置ppt数据2")
-										// iframe.contentWindow.window.readJSON({}, true)
-								}
+                }
             }
         }
     }