mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-17 22:30:25 +08:00
优化访问日志弹窗中的发送字节
This commit is contained in:
@@ -41,7 +41,12 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
Tea.context(function () {
|
Tea.context(function () {
|
||||||
this.tab = "summary"
|
this.tab = "summary"
|
||||||
|
this.teaweb= teaweb
|
||||||
|
|
||||||
this.switchTab = function (tab) {
|
this.switchTab = function (tab) {
|
||||||
this.tab = tab
|
this.tab = tab
|
||||||
|
|||||||
Reference in New Issue
Block a user