优化界面

This commit is contained in:
GoEdgeLab
2022-04-07 19:53:10 +08:00
parent 494f38077c
commit 9e7dd7ba81
5 changed files with 7 additions and 7 deletions

View File

@@ -110,7 +110,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">
@@ -118,7 +118,7 @@
<span v-else class="disabled">-</span>
</td>
<td class="center">
<span v-if="node.status.isActive && node.status.trafficOutBytes > 0">{{teaweb.formatBytes(node.status.trafficOutBytes/60)}}<br/><span class="grey small">/分钟</span></span>
<span v-if="node.status.isActive && node.status.trafficOutBytes > 0">{{teaweb.formatBytes(node.status.trafficOutBytes/60)}}<span class="grey small">/s</span></span>
<span v-else class="disabled">-</span>
</td>
<td class="center">