fix(性能测试): 执行失败报告中并发数、响应和TPS显示NaN
--bug=1024531 --user=李玉号 【性能测试】报告缺少文件执行失败-报告并发数、响应、TPS显示为NaN https://www.tapd.cn/55049933/s/1351619
This commit is contained in:
parent
b724e5d838
commit
12d15da2de
|
@ -72,6 +72,9 @@
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
min-width="100"
|
min-width="100"
|
||||||
:label="$t('report.max_users')">
|
:label="$t('report.max_users')">
|
||||||
|
<template v-slot:default="scope">
|
||||||
|
<span>{{ scope.row.maxUsers || '-'}}</span>
|
||||||
|
</template>
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
min-width="100"
|
min-width="100"
|
||||||
|
@ -80,6 +83,9 @@
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
prop="avgResponseTime"
|
prop="avgResponseTime"
|
||||||
:label="$t('report.response_time')">
|
:label="$t('report.response_time')">
|
||||||
|
<template v-slot:default="scope">
|
||||||
|
<span>{{ scope.row.avgResponseTime || '-'}}</span>
|
||||||
|
</template>
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
min-width="100"
|
min-width="100"
|
||||||
|
@ -88,6 +94,9 @@
|
||||||
:field="item"
|
:field="item"
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
label="TPS">
|
label="TPS">
|
||||||
|
<template v-slot:default="scope">
|
||||||
|
<span>{{ scope.row.tps || '-'}}</span>
|
||||||
|
</template>
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
min-width="120"
|
min-width="120"
|
||||||
|
|
Loading…
Reference in New Issue