From a814e6318cb4cef0cf3709363bfa0d6b18eeb366 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 24 Jul 2024 11:13:35 +0800 Subject: [PATCH] fix(store/job) --- src/store/job.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/job.ts b/src/store/job.ts index be4a847..7e5dcf6 100644 --- a/src/store/job.ts +++ b/src/store/job.ts @@ -26,9 +26,9 @@ export const useJobStore = defineStore("job", () => { } } - const breakdownData = computed(() => job2G6TreeGraph(_job!.value)); + const breakdownData = computed(() => job2G6TreeGraph(_job.value as Task)); - const workflowData = computed(() => jobLeafNode2G6Graph(_job!.value)); + const workflowData = computed(() => jobLeafNode2G6Graph(_job.value as Task)); return { updateData, breakdownData, workflowData }; });