优化访问日志弹窗中的发送字节

This commit is contained in:
GoEdgeLab
2022-04-17 20:22:34 +08:00
parent eb79271096
commit 22c884f25b
2 changed files with 7 additions and 1 deletions

View File

@@ -41,7 +41,12 @@
</td>
</tr>
<tr>
<td>发送字节<em>(BytesSent)</em>{{accessLog.bytesSent}}</td>
<td>发送字节<em>(BytesSent)</em>
<span v-if="accessLog.bytesSent != null">{{accessLog.bytesSent}}
<span v-if="accessLog.bytesSent > 0" class="grey small">{{teaweb.formatBytes(accessLog.bytesSent)}}</span>
</span>
<span v-else class="disabled">0</span>
</td>
<td></td>
</tr>
<tr>

View File

@@ -1,5 +1,6 @@
Tea.context(function () {
this.tab = "summary"
this.teaweb= teaweb
this.switchTab = function (tab) {
this.tab = tab