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