|
@@ -8986,8 +8986,8 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
|
|
|
if (aTool == 1) {
|
|
|
// text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
|
|
|
text = _iframe.contentWindow.h.app.scene.elements
|
|
|
- files = _iframe.contentWindow.h.app.files
|
|
|
- U.MD.D.I.downloadFile2(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan, files, _iframe, str)
|
|
|
+ let files = _iframe.contentWindow.h.app.files
|
|
|
+ U.MD.D.I.downloadFile2(_cid, _stage, _task, _tool, _userid, text, _loading, _lspan, files, _iframe, str)
|
|
|
return
|
|
|
} else if (aTool == 6) {
|
|
|
text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
|
|
@@ -11776,7 +11776,7 @@ U.MD.D.I.downloadFile = function (cid, s, task, t, uid, type, text, loading, spa
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-U.MD.D.I.downloadFile2 = function (cid, s, task, t, uid, type, text, loading, span, files, _iframe, str) {
|
|
|
+U.MD.D.I.downloadFile2 = function (cid, s, task, t, uid, text, loading, span, files, _iframe, str) {
|
|
|
// 优化:常量抽离、合并相同代码、结构简化
|
|
|
const BUCKET = "ccrb";
|
|
|
const REGION = "cn-northwest-1";
|