diff --git a/src/store/modules/ebpf.ts b/src/store/modules/ebpf.ts index 39c1c563..b03bed73 100644 --- a/src/store/modules/ebpf.ts +++ b/src/store/modules/ebpf.ts @@ -93,7 +93,7 @@ export const ebpfStore = defineStore({ if (res.data.errors) { return res.data; } - this.taskList = res.data.data.queryEBPFTasks || []; + this.taskList = res.data.data.queryEBPFTasks.reverse() || []; if (!this.taskList.length) { return res.data; }