fix: 修复冲突

This commit is contained in:
@changcode
2022-04-07 09:59:00 +08:00
parent a0919e159e
commit 2b2a789f16

View File

@@ -222,7 +222,7 @@ export default {
})
const max = parseFloat(sorted[0].bytes)
const maxId = parseFloat(sortedId[0].commonIngressLinkId)
this.entityData.linkInPercent = (parseFloat(max / sum) * 100).toFixed(2)
this.entityData.linkInPercent = (parseFloat(max / sum)).toFixed(2)
this.entityData.linkInId = maxId
}
}
@@ -247,7 +247,7 @@ export default {
})
const max = parseFloat(sorted[0].bytes)
const maxId = parseFloat(sortedId[0].commonEgressLinkId)
this.entityData.linkOutPercent = (parseFloat(max / sum) * 100).toFixed(2)
this.entityData.linkOutPercent = (parseFloat(max / sum)).toFixed(2)
this.entityData.linkOutId = maxId
}
}