fix: 修复链路下钻后参数会丢失大写格式的问题

This commit is contained in:
chenjinsong
2023-10-12 10:34:09 +08:00
parent 11540d3c34
commit 18b62f1e3d
4 changed files with 5 additions and 5 deletions

View File

@@ -355,12 +355,12 @@ export default {
if (out < 0.0001 && out !== 0) {
outUsage = '< 0.01%'
} else {
outUsage = JSON.stringify(parseFloat((out * 100).toFixed(2)))
outUsage = JSON.stringify(parseFloat(out * 100).toFixed(2))
}
if (_in < 0.0001 && _in !== 0) {
inUsage = '< 0.01%'
} else {
inUsage = JSON.stringify(parseFloat((_in * 100).toFixed(2)))
inUsage = JSON.stringify(parseFloat(_in * 100).toFixed(2))
}
length = outUsage.length + inUsage.length