mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-12 12:25:16 +08:00
fix
This commit is contained in:
parent
144d192aff
commit
1caa9fd272
@ -101,7 +101,18 @@ const setSvgColor = (e, color) => {
|
|||||||
// Traverse clear all colors
|
// Traverse clear all colors
|
||||||
$('.jtk-connector').each((i, o) => {
|
$('.jtk-connector').each((i, o) => {
|
||||||
_.map($(o)[0].childNodes, v => {
|
_.map($(o)[0].childNodes, v => {
|
||||||
$(v).attr('stroke', '#2d8cf0').attr('stroke-width', 2)
|
if($(v).attr('fill') ==='#ccc') {
|
||||||
|
$(v).attr('fill', '#2d8cf0')
|
||||||
|
}
|
||||||
|
if($(v).attr('fill') ==='#4caf50') {
|
||||||
|
$(v).attr('fill','#4caf50').attr('stroke', '#4caf50').attr('stroke-width', 2)
|
||||||
|
$(v).prev().attr('stroke', '#4caf50').attr('stroke-width', 2)
|
||||||
|
} else if($(v).attr('fill') ==='#252d39') {
|
||||||
|
$(v).attr('stroke', '#252d39').attr('stroke-width', 2)
|
||||||
|
$(v).prev().attr('stroke', '#252d39').attr('stroke-width', 2)
|
||||||
|
} else {
|
||||||
|
$(v).attr('stroke', '#2d8cf0').attr('stroke-width', 2)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user