From 6768701eadea0e9291f87830012b2e58459a5f27 Mon Sep 17 00:00:00 2001 From: Fine Date: Tue, 3 Dec 2024 11:42:00 +0800 Subject: [PATCH] update --- .../related/async-profiling/components/NewTask.vue | 2 +- .../related/async-profiling/components/TaskList.vue | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/views/dashboard/related/async-profiling/components/NewTask.vue b/src/views/dashboard/related/async-profiling/components/NewTask.vue index 8ecb6820..ca114b5e 100644 --- a/src/views/dashboard/related/async-profiling/components/NewTask.vue +++ b/src/views/dashboard/related/async-profiling/components/NewTask.vue @@ -142,7 +142,7 @@ limitations under the License. --> const params = { serviceId: selectorStore.currentService.id, serviceInstanceIds: serviceInstanceIds.value, - duration: Number(duration.value), + duration: Number(duration.value) * 60, events: asyncEvents.value, execArgs: execArgs.value, }; diff --git a/src/views/dashboard/related/async-profiling/components/TaskList.vue b/src/views/dashboard/related/async-profiling/components/TaskList.vue index ccf06102..4029168a 100644 --- a/src/views/dashboard/related/async-profiling/components/TaskList.vue +++ b/src/views/dashboard/related/async-profiling/components/TaskList.vue @@ -67,7 +67,7 @@ limitations under the License. -->
{{ t("duration") }}: - {{ asyncProfilingStore.selectedTask.duration }} + {{ asyncProfilingStore.selectedTask.duration / 60 }}min
{{ t("events") }}: @@ -189,13 +189,6 @@ limitations under the License. --> } } } - - watch( - () => selectorStore.currentService, - () => { - fetchTasks(); - }, - );