节点列表带宽保存两位小数数字

This commit is contained in:
刘祥超
2023-03-17 15:20:53 +08:00
parent 7e9224680e
commit c25bd71592
3 changed files with 24 additions and 9 deletions

View File

@@ -127,7 +127,7 @@
<span v-else class="disabled">-</span>
</td>
<td class="center" v-if="windowWidth < miniWidth || windowWidth > columnWidth3">
<span v-if="node.status.isActive && node.status.trafficOutBytes > 0">{{teaweb.formatBits(node.status.trafficOutBytes * 8/60)}}</span>
<span v-if="node.status.isActive && node.status.trafficOutBytes > 0">{{teaweb.formatBits(node.status.trafficOutBytes * 8/60, 2)}}</span>
<span v-else class="disabled">-</span>
</td>
<td class="center" v-if="windowWidth < miniWidth || windowWidth > columnWidth4">