diff --git a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts index 4590490eb3..69fc85cb19 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts +++ b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts @@ -168,9 +168,9 @@ export function useTaskEdit(options: Options) { processDefinition.value.taskDefinitionList.map((task) => { if (task.code === currTask.value?.code) { setNodeName(task.code + '', taskDef.name) - let fillColor = '#f3f3f5' - if (task.flag === 'NO') { - fillColor = '#ffffff' + let fillColor = '#ffffff' + if (task.flag === 'YES') { + fillColor = '#f3f3f5' } setNodeFillColor(task.code + '', fillColor)