Przeglądaj źródła

automatic insert modify

zhangyuanlian 6 lat temu
rodzic
commit
4147ddd755
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/components/FlowChart.vue

+ 1 - 1
src/components/FlowChart.vue

@@ -144,7 +144,7 @@ export default {
     nodesNoOutput: function () {
       var activties = this.filterAcivities()
       return activties.filter(node => {
-        return this.edges.some(edge => {
+        return this.edges.every(edge => {
           return edge.source !== node
         })
       })