节点列表页CPU和内容用量增加百分号%

This commit is contained in:
GoEdgeLab
2022-04-22 09:22:15 +08:00
parent 4edca6b670
commit 7819b620ef

View File

@@ -110,11 +110,11 @@
<span v-else class="disabled">-</span>
</td>
<td class="center">
<span v-if="node.status.isActive" :class="{red:node.status.cpuUsage > 0.50}">{{node.status.cpuUsageText}}</span>
<span v-if="node.status.isActive" :class="{red:node.status.cpuUsage > 0.50}">{{node.status.cpuUsageText}}%</span>
<span v-else class="disabled">-</span>
</td>
<td class="center">
<span v-if="node.status.isActive" :class="{red:node.status.memUsage > 0.80}">{{node.status.memUsageText}}</span>
<span v-if="node.status.isActive" :class="{red:node.status.memUsage > 0.80}">{{node.status.memUsageText}}%</span>
<span v-else class="disabled">-</span>
</td>
<td class="center">