From f46392e1f790e571561baa30bfc59b26357f287b Mon Sep 17 00:00:00 2001 From: Fine Date: Tue, 3 Dec 2024 18:08:54 +0800 Subject: [PATCH] update --- .../dashboard/related/async-profiling/components/TaskList.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/dashboard/related/async-profiling/components/TaskList.vue b/src/views/dashboard/related/async-profiling/components/TaskList.vue index 7f83b625..1f29d65f 100644 --- a/src/views/dashboard/related/async-profiling/components/TaskList.vue +++ b/src/views/dashboard/related/async-profiling/components/TaskList.vue @@ -157,6 +157,9 @@ limitations under the License. --> } async function changeTask(item: TaskListItem) { + if (item.id === asyncProfilingStore.selectedTask.id) { + return; + } asyncProfilingStore.setSelectedTask(item); asyncProfilingStore.setAnalyzeTrees([]); service.value = (selectorStore.services.filter((s: Service) => s.id === item.serviceId)[0] ?? {}).label;