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 = { const params = {
serviceId: selectorStore.currentService.id, serviceId: selectorStore.currentService.id,
serviceInstanceIds: serviceInstanceIds.value, serviceInstanceIds: serviceInstanceIds.value,
duration: Number(duration.value), duration: Number(duration.value) * 60,
events: asyncEvents.value, events: asyncEvents.value,
execArgs: execArgs.value, execArgs: execArgs.value,
}; };

View File

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