From af578124a5cb4f6522d2525f2f7047eb95013e72 Mon Sep 17 00:00:00 2001 From: lch Date: Mon, 11 Mar 2024 10:47:43 +0800 Subject: [PATCH] fix switch status button not show correctly (#15686) Co-authored-by: xiangzihao <460888207@qq.com> --- .../src/views/resource/task-group/option/use-table.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts b/dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts index fc286d7d0cc2..838a1d39cbcd 100644 --- a/dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts +++ b/dolphinscheduler-ui/src/views/resource/task-group/option/use-table.ts @@ -147,6 +147,7 @@ export function useTable( parseTime(item.updateTime), 'yyyy-MM-dd HH:mm:ss' ) + item.status = (item.status == 'YES') ? 1 : 0 return { ...item }