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 }; });