From 7667af2213a147a30600035390431f250c3f7aa2 Mon Sep 17 00:00:00 2001 From: Fine Date: Mon, 12 Jun 2023 15:58:22 +0800 Subject: [PATCH] fix: task id --- src/store/modules/task-timeline.ts | 3 +++ .../related/task-timeline/components/Timeline.vue | 10 ++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/store/modules/task-timeline.ts b/src/store/modules/task-timeline.ts index 09bbc1ed..14272164 100644 --- a/src/store/modules/task-timeline.ts +++ b/src/store/modules/task-timeline.ts @@ -44,6 +44,9 @@ export const taskTimelineStore = defineStore({ setSelectedTask(task: Recordable) { this.selectedTask = task || {}; }, + setTaskList(list: EBPFTaskList[]) { + this.taskList = list; + }, async getContinousTaskList(params: { serviceId: string; serviceInstanceId: string; diff --git a/src/views/dashboard/related/task-timeline/components/Timeline.vue b/src/views/dashboard/related/task-timeline/components/Timeline.vue index 0cc7372b..bc8afcad 100644 --- a/src/views/dashboard/related/task-timeline/components/Timeline.vue +++ b/src/views/dashboard/related/task-timeline/components/Timeline.vue @@ -16,7 +16,7 @@ limitations under the License. -->