diff --git a/src/store/modules/async-profiling.ts b/src/store/modules/async-profiling.ts index 6546cd46..20fea5cd 100644 --- a/src/store/modules/async-profiling.ts +++ b/src/store/modules/async-profiling.ts @@ -50,7 +50,7 @@ export const asyncProfilingStore = defineStore({ if (res.data.errors) { return res.data; } - this.taskList = res.data.data.asyncTaskList || []; + this.taskList = res.data.data.asyncTaskList.tasks || []; this.selectedTask = this.taskList[0] || {}; this.setSelectedTask(this.selectedTask); if (!this.taskList.length) { diff --git a/src/views/dashboard/related/async-profiling/components/TaskList.vue b/src/views/dashboard/related/async-profiling/components/TaskList.vue index d411b1e1..97fdbe9f 100644 --- a/src/views/dashboard/related/async-profiling/components/TaskList.vue +++ b/src/views/dashboard/related/async-profiling/components/TaskList.vue @@ -35,16 +35,16 @@ limitations under the License. --> >