Browse Source

[Bug] [UI] New tasks with the flag normal show a grey color (#14862)

3.2.1-prepare
旺阳 1 year ago committed by GitHub
parent
commit
89a55de070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts

6
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)

Loading…
Cancel
Save