lsc 2 年之前
父节点
当前提交
5e4e3b2796
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/Desktop/DeskTop.js

+ 1 - 1
js/Desktop/DeskTop.js

@@ -3836,7 +3836,7 @@ U.MD.D.I.setContents = function (cid, s, task, t, uid, type, loading,span) {
     }
     xmlhttp.onreadystatechange = function () {
         if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
-            if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
+            if (xmlhttp.response) {
                 // resolve(res.value[0][0].text);
                 // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
                 //     $(fileInput).val('');