节点列表负载数据如果是0,则显示0.00

This commit is contained in:
GoEdgeLab
2023-04-18 11:23:49 +08:00
parent d936e2579d
commit e597cee30d
6 changed files with 44 additions and 6 deletions

View File

@@ -139,7 +139,7 @@
<span v-else class="disabled">-</span>
</td>
<td class="center" v-if="windowWidth < miniWidth || windowWidth > columnWidth5">
<span v-if="node.status.isActive && node.status.load1m > 0">{{node.status.load1m}}</span>
<span v-if="node.status.isActive">{{node.status.load1m}}</span>
<span v-else class="disabled">-</span>
</td>
<td class="center">

View File

@@ -134,7 +134,7 @@
<span v-else class="disabled">-</span>
</td>
<td class="center" v-if="windowWidth < miniWidth || windowWidth > columnWidth5">
<span v-if="node.status.isActive && node.status.load1m > 0">{{node.status.load1m}}</span>
<span v-if="node.status.isActive">{{node.status.load1m}}</span>
<span v-else class="disabled">-</span>
</td>
<td class="center">