Commit 338f3341 authored by 向偲彪's avatar 向偲彪
Browse files

Default assignment of delete condition judgment node

parent aefb60a7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -799,7 +799,7 @@ JSP.prototype.jspBackfill = function ({ connects, locations, largeJson }) {
          type: 'basic',
          paintStyle: { strokeWidth: 2, stroke: '#4caf50' },
          HoverPaintStyle: {stroke: '#ccc', strokeWidth: 3},
          overlays:[["Label", { label: i18n.$t('success'), location:0.5, id:"label"} ]]
          overlays:[["Label", { label: labels} ]]
        })
      } else if($(`#${sourceId}`).attr('data-tasks-type') === 'CONDITIONS' && $(`#${sourceId}`).attr('data-failednode') === $(`#${targetId}`).find('.name-p').text()) {
        this.JspInstance.connect({
@@ -808,7 +808,7 @@ JSP.prototype.jspBackfill = function ({ connects, locations, largeJson }) {
          type: 'basic',
          paintStyle: { strokeWidth: 2, stroke: '#252d39' },
          HoverPaintStyle: {stroke: '#ccc', strokeWidth: 3},
          overlays:[["Label", { label: i18n.$t('failed'), location:0.5, id:"label"} ]]
          overlays:[["Label", { label: labels} ]]
        })
      } else {
        this.JspInstance.connect({