From 4d6a732ef3239c801a12321da77ecd7904f70dd8 Mon Sep 17 00:00:00 2001 From: Amy0104 <97265214+Amy0104@users.noreply.github.com> Date: Mon, 18 Apr 2022 14:13:08 +0800 Subject: [PATCH] [Fix][UI] Fix the problem of displaying task execution icons. (#9549) --- .../workflow/components/dag/dag-config.ts | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-config.ts b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-config.ts index e988dd4702..8223554ea5 100644 --- a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-config.ts +++ b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-config.ts @@ -125,17 +125,15 @@ export const NODE_STATUS_MARKUP = [ selector: 'fo', children: [ { - tagName: 'body', + tagName: 'div', selector: 'fo-body', - ns: 'http://www.w3.org/1999/xhtml', - children: [ - { - tagName: 'div', - selector: 'status' - } - ] + ns: 'http://www.w3.org/1999/xhtml' } - ] + ], + style: { + width: 20, + height: 20 + } } ]