fix: 修复score有时计算不准确的问题
This commit is contained in:
@@ -859,7 +859,7 @@ export function computeScore (data) {
|
||||
const scoreArr = []
|
||||
let num = 0
|
||||
Object.keys(data).forEach(t => {
|
||||
if (!data[t]) {
|
||||
if (!data[t] && data[t] !== 0) {
|
||||
num += 1
|
||||
}
|
||||
if (t === 'establishLatencyMs' || t === 'tcpLostlenPercent' || t === 'pktRetransPercent') {
|
||||
|
||||
Reference in New Issue
Block a user