From 52826194a68c75a7a0f0d85062cef067f71d4b38 Mon Sep 17 00:00:00 2001 From: Devosend Date: Thu, 5 May 2022 10:13:56 +0800 Subject: [PATCH] [Fix][UI Next][V1.0.0-Beta] Fix bug where logo disappeared when format dag. (#9864) --- .../views/projects/workflow/components/dag/index.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx index 7bf4e55451..b634c0bb08 100644 --- a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx +++ b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx @@ -274,6 +274,15 @@ export default defineComponent({ nodeVariables.showModalRef = false } + const layoutSubmit = () => { + submit() + + // Refresh task status in workflow instance + if (props.instance) { + refreshTaskStatus() + } + } + watch( () => props.definition, () => { @@ -321,7 +330,7 @@ export default defineComponent({