fix(性能测试): 执行失败报告中并发数、响应和TPS显示NaN

--bug=1024531 --user=李玉号 【性能测试】报告缺少文件执行失败-报告并发数、响应、TPS显示为NaN
https://www.tapd.cn/55049933/s/1351619
This commit is contained in:
shiziyuan9527 2023-03-16 17:04:42 +08:00 committed by lyh
parent b724e5d838
commit 12d15da2de
1 changed files with 9 additions and 0 deletions

View File

@ -72,6 +72,9 @@
:fields-width="fieldsWidth"
min-width="100"
:label="$t('report.max_users')">
<template v-slot:default="scope">
<span>{{ scope.row.maxUsers || '-'}}</span>
</template>
</ms-table-column>
<ms-table-column
min-width="100"
@ -80,6 +83,9 @@
:fields-width="fieldsWidth"
prop="avgResponseTime"
:label="$t('report.response_time')">
<template v-slot:default="scope">
<span>{{ scope.row.avgResponseTime || '-'}}</span>
</template>
</ms-table-column>
<ms-table-column
min-width="100"
@ -88,6 +94,9 @@
:field="item"
:fields-width="fieldsWidth"
label="TPS">
<template v-slot:default="scope">
<span>{{ scope.row.tps || '-'}}</span>
</template>
</ms-table-column>
<ms-table-column
min-width="120"