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. -->