修复看板中统计数据可能不显示的问题

This commit is contained in:
刘祥超
2022-04-16 22:22:18 +08:00
parent 5138bbe947
commit 18f3a00c0f
5 changed files with 5 additions and 5 deletions

View File

@@ -12830,7 +12830,7 @@ Vue.component("sort-arrow", {
let argValue = v.substring(eqIndex + 1) let argValue = v.substring(eqIndex + 1)
if (argName == that.name) { if (argName == that.name) {
order = argValue order = argValue
} else if (argValue != "asc" && argValue != "desc") { } else if (argName != "page" && argValue != "asc" && argValue != "desc") {
newArgs.push(v) newArgs.push(v)
} }
} else { } else {

View File

@@ -16,7 +16,7 @@ Vue.component("sort-arrow", {
let argValue = v.substring(eqIndex + 1) let argValue = v.substring(eqIndex + 1)
if (argName == that.name) { if (argName == that.name) {
order = argValue order = argValue
} else if (argValue != "asc" && argValue != "desc") { } else if (argName != "page" && argValue != "asc" && argValue != "desc") {
newArgs.push(v) newArgs.push(v)
} }
} else { } else {

View File

@@ -122,7 +122,7 @@
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <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>
<span v-else class="disabled">-</span> <span v-else class="disabled">-</span>
</td> </td>
<td class="center"> <td class="center">

View File

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

View File

@@ -99,7 +99,7 @@
</div> </div>
</td> </td>
<td class="center"> <td class="center">
<span v-if="server.bandwidth.length > 0">{{server.bandwidth}}</span> <span v-if="server.bandwidth.length > 0">{{server.bandwidth}}/s</span>
<span class="disabled" v-else>-</span> <span class="disabled" v-else>-</span>
</td> </td>
<td class="center"> <td class="center">