Browse Source

fix

pull/3/MERGE
break60 4 years ago
parent
commit
144d192aff
  1. 3
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/util.js

3
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/plugIn/util.js

@ -107,6 +107,9 @@ const setSvgColor = (e, color) => {
// Add color to the selection // Add color to the selection
_.map($(e.canvas)[0].childNodes, (v, i) => { _.map($(e.canvas)[0].childNodes, (v, i) => {
if($(v).attr('fill') ==='#2d8cf0') {
$(v).attr('fill', '#ccc')
}
$(v).attr('stroke', '#ccc') $(v).attr('stroke', '#ccc')
if ($(v).attr('class')) { if ($(v).attr('class')) {
$(v).attr('stroke-width', 2) $(v).attr('stroke-width', 2)

Loading…
Cancel
Save