优化界面

This commit is contained in:
刘祥超
2022-04-07 19:53:10 +08:00
parent ee0837571d
commit 62933cf637
5 changed files with 7 additions and 7 deletions

View File

@@ -104,7 +104,7 @@
<span v-else class="disabled">-</span>
</td>
<td class="center">
<span v-if="node.status.isActive" :class="{red:node.status.cpuUsage > 0.80}">{{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">
@@ -116,7 +116,7 @@
<span v-else class="disabled">-</span>
</td>
<td class="center">
<span v-if="node.status.isActive">{{node.status.load1m}}<br/><span class="grey small"></span></span>
<span v-if="node.status.isActive">{{node.status.load1m}}<span class="grey small"></span></span>
<span v-else class="disabled">-</span>
</td>
<td class="center">