From 1deb6c33479a712bf18f70d43bbf723a9f3b75d3 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Wed, 11 May 2022 14:30:10 +0800 Subject: [PATCH] remove duration --- src/store/modules/ebpf.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/store/modules/ebpf.ts b/src/store/modules/ebpf.ts index d59f317b..897abf12 100644 --- a/src/store/modules/ebpf.ts +++ b/src/store/modules/ebpf.ts @@ -103,14 +103,13 @@ export const ebpfStore = defineStore({ this.getEBPFSchedules({ taskId: this.taskList[0].taskId }); return res.data; }, - async getEBPFSchedules(params: { taskId: string; duration?: Duration }) { + async getEBPFSchedules(params: { taskId: string }) { if (!params.taskId) { return new Promise((resolve) => resolve({})); } - const duration = useAppStoreWithOut().durationTime; const res: AxiosResponse = await graphql .query("getEBPFSchedules") - .params({ ...params, duration }); + .params({ ...params }); if (res.data.errors) { this.eBPFSchedules = [];