Browse Source

Merge pull request #3272 from break60/dev

[bugFix][ui]Default assignment of delete condition judgment node
pull/3/MERGE
xingchun-chen 4 years ago committed by GitHub
parent
commit
1814e22bb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js

4
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/jsPlumbHandle.js

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

Loading…
Cancel
Save