fix: 修复实体列表分数不显示的问题

This commit is contained in:
chenjinsong
2023-09-05 10:18:30 +08:00
parent 25d51d246c
commit 06ba26e775
2 changed files with 22 additions and 22 deletions

View File

@@ -225,11 +225,11 @@ export default {
axios.get(this.scoreUrl, { params: this.getQueryParams() }).then(response => {
if (response.status === 200) {
const data = {
establishLatencyMs: response.data.data.result.establishLatencyValue || null,
httpResponseLatency: response.data.data.result.httpResponseLatencyValue || null,
sslConLatency: response.data.data.result.sslConLatencyValue || null,
tcpLostlenPercent: response.data.data.result.sequenceGapLossPercentValue || null,
pktRetransPercent: response.data.data.result.pktRetransPercentValue || null
establishLatencyMs: response.data.data.result.establishLatencyMsAvg || null,
httpResponseLatency: response.data.data.result.httpResponseLatencyAvg || null,
sslConLatency: response.data.data.result.sslConLatencyAvg || null,
tcpLostlenPercent: response.data.data.result.tcpLostlenPercentAvg || null,
pktRetransPercent: response.data.data.result.pktRetransPercentAvg || null
}
this.score = computeScore(data)
}