This commit is contained in:
Fine 2024-12-03 11:42:00 +08:00
parent 7d1e399441
commit 6768701ead
2 changed files with 2 additions and 9 deletions

View File

@ -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,
};

View File

@ -67,7 +67,7 @@ limitations under the License. -->
</div>
<div class="mb-10 clear item">
<span class="g-sm-4 grey">{{ t("duration") }}:</span>
<span class="g-sm-8 wba">{{ asyncProfilingStore.selectedTask.duration }}</span>
<span class="g-sm-8 wba">{{ asyncProfilingStore.selectedTask.duration / 60 }}min</span>
</div>
<div class="mb-10 clear item">
<span class="g-sm-4 grey">{{ t("events") }}:</span>
@ -189,13 +189,6 @@ limitations under the License. -->
}
}
}
watch(
() => selectorStore.currentService,
() => {
fetchTasks();
},
);
</script>
<style lang="scss" scoped>
.profile-task-list {