fix:(性能测试): 报告详情图表下面的avg min max支持按照数字排序

--bug=1034494 --user=刘瑞斌 【性能测试】性能用例-报告-测试详情中的Avg 排序错误 https://www.tapd.cn/55049933/s/1630917
This commit is contained in:
CaptainB 2024-12-16 11:16:14 +08:00 committed by 刘瑞斌
parent 3ef3cf258c
commit 2cb4871f65
1 changed files with 5 additions and 0 deletions

View File

@ -651,6 +651,11 @@ export default {
}
avg = (sum / len).toFixed(2);
// min max avg
min = Number.parseFloat(min);
max = Number.parseFloat(max);
avg = Number.parseFloat(avg);
tableData.push({label, min, max, avg, startTime, endTime});
}
this.tableData = tableData;