浏览代码

error fix

Fixed an error on the root search
khady 7 年之前
父节点
当前提交
9803b3fe5b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugins/exportMM2Ecore.js

+ 2 - 2
plugins/exportMM2Ecore.js

@@ -180,7 +180,7 @@ module.exports = {
                             }
                             for (var i = 0; i < as.edges.length; i += 2) {
                                 if (as.edges[i].src != as.edges[i + 1].dest)
-                                    remove(listNodes, as.edges[i + 1].dest);
+                                    remove(listNodes, as.edges[i].src);
                             }
                             return listNodes;
                         }
@@ -632,4 +632,4 @@ module.exports = {
                 'respIndex': resp
             });
     }
-};
+};