From a45acc6c50005a1c0e0d7431b0283fdc38123b50 Mon Sep 17 00:00:00 2001 From: Fine Date: Tue, 3 Dec 2024 16:11:49 +0800 Subject: [PATCH] fix --- .../dashboard/related/async-profiling/components/NewTask.vue | 4 ++-- .../dashboard/related/async-profiling/components/TaskList.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/dashboard/related/async-profiling/components/NewTask.vue b/src/views/dashboard/related/async-profiling/components/NewTask.vue index ca114b5e..7cf86a27 100644 --- a/src/views/dashboard/related/async-profiling/components/NewTask.vue +++ b/src/views/dashboard/related/async-profiling/components/NewTask.vue @@ -119,8 +119,8 @@ limitations under the License. --> duration.value = val; } - function changeInstances(options: Option[]) { - serviceInstanceIds.value = options.map((d: Option) => d.value); + function changeInstances(options: { id: string }[]) { + serviceInstanceIds.value = options.map((d: { id: string }) => d.id); } function disableEvents(item: string) { diff --git a/src/views/dashboard/related/async-profiling/components/TaskList.vue b/src/views/dashboard/related/async-profiling/components/TaskList.vue index 5730f786..7f83b625 100644 --- a/src/views/dashboard/related/async-profiling/components/TaskList.vue +++ b/src/views/dashboard/related/async-profiling/components/TaskList.vue @@ -54,7 +54,7 @@ limitations under the License. -->
{{ t("task") }}.
- {{ t("id") }}: + ID: {{ asyncProfilingStore.selectedTask.id }}