refactor(性能测试): 性能测试报告开始前不显示startTime

This commit is contained in:
Captain.B 2021-05-18 14:33:43 +08:00 committed by 刘瑞斌
parent dc97aa4b3e
commit 115287ac72
1 changed files with 5 additions and 2 deletions

View File

@ -38,10 +38,13 @@
<span class="ms-report-time-desc">
{{ $t('report.test_duration', [this.minutes, this.seconds]) }}
</span>
<span class="ms-report-time-desc">
<span class="ms-report-time-desc" v-if="startTime !== '0'">
{{ $t('report.test_start_time') }}{{ startTime }}
</span>
<span class="ms-report-time-desc" v-if="report.status === 'Completed'">
<span class="ms-report-time-desc" v-else>
{{ $t('report.test_start_time') }}-
</span>
<span class="ms-report-time-desc" v-if="report.status === 'Completed' && endTime !== '0'">
{{ $t('report.test_end_time') }}{{ endTime }}
</span>
<span class="ms-report-time-desc" v-else>