lsc 2 years ago
parent
commit
fe7afddbe7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      js/Desktop/DeskTop.js

+ 1 - 2
js/Desktop/DeskTop.js

@@ -2891,9 +2891,8 @@ U.MD.D.I.getEditorContent = function (iframe) {
     });
     });
 }
 }
 
 
-U.MD.D.I.getContent = async function (cid, s, task, t, uid, type,iframe) {
+U.MD.D.I.getContent = function (cid, s, task, t, uid, type,iframe) {
         U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
         U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
-            reject("aaa")
             if (res.value[0].length > 0) {
             if (res.value[0].length > 0) {
                 // resolve(res.value[0][0].text);
                 // resolve(res.value[0][0].text);
                 iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
                 iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {