refactor: 测试计划报告时间去掉NAN

This commit is contained in:
chenjianxing 2021-09-30 14:12:40 +08:00 committed by jianxing
parent 95a664add1
commit 48fce1b194
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ export default {
},
computed: {
showTime() {
let startTime = 'NaN';
let endTime = 'NaN';
let startTime = '';
let endTime = '';
if (this.report.startTime) {
startTime = timestampFormatDate(this.report.startTime, false);
}