refactor(接口测试): 兼容报告结束时间为空时展示优化对 #TAPD 1012783进行补充

This commit is contained in:
fit2-zhao 2022-05-30 19:25:36 +08:00 committed by fit2-zhao
parent 8586907100
commit 0e44a0766d
1 changed files with 6 additions and 1 deletions

View File

@ -98,7 +98,12 @@
</el-table-column>
<el-table-column prop="endTime" min-width="120" :label="$t('report.test_end_time')" sortable>
<template v-slot:default="scope">
{{ scope.row.endTime | timestampFormatDate }}
<span v-if="scope.row.endTime && scope.row.endTime > 0">
{{ scope.row.endTime | timestampFormatDate }}
</span>
<span v-else>
{{ scope.row.updateTime | timestampFormatDate }}
</span>
</template>
</el-table-column>
<el-table-column prop="triggerMode" width="150" :label="$t('commons.trigger_mode.name')"