From 4209c018ffbf63253395d92b81ac70874023fb79 Mon Sep 17 00:00:00 2001 From: Devosend Date: Fri, 1 Jul 2022 13:59:06 +0800 Subject: [PATCH] fix bug where project overview page display no data (#10720) --- dolphinscheduler-ui/src/views/projects/overview/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-ui/src/views/projects/overview/index.tsx b/dolphinscheduler-ui/src/views/projects/overview/index.tsx index 22bd6dda5a..f7dee7616f 100644 --- a/dolphinscheduler-ui/src/views/projects/overview/index.tsx +++ b/dolphinscheduler-ui/src/views/projects/overview/index.tsx @@ -43,8 +43,9 @@ const workflowMonitor = defineComponent({ } const initData = () => { - taskStateRef.value = getTaskState(dateRef.value) - processStateRef.value = getProcessState(dateRef.value) + taskStateRef.value = getTaskState(dateRef.value) || taskStateRef.value + processStateRef.value = + getProcessState(dateRef.value) || processStateRef.value } onMounted(() => {