feat: 3.2.0. 日志详情新增IP地址展示

This commit is contained in:
xlsea 2024-03-25 09:18:39 +08:00 committed by byteblogs168
parent 2a12d637db
commit 2354573c29

View File

@ -15,6 +15,12 @@
<div class="text" :style="{ color: LevelEnum[log.level].color }"> <div class="text" :style="{ color: LevelEnum[log.level].color }">
{{ log.level.length === 4 ? log.level + ' ' : log.level }} {{ log.level.length === 4 ? log.level + ' ' : log.level }}
</div> </div>
<div v-if="log.host" class="text" style="color: #00a3a3">
[
{{ log.host }}
<template v-if="log.port">:{{ log.port }}</template>
]
</div>
<div class="text" style="color: #00a3a3">[{{ log.thread }}]</div> <div class="text" style="color: #00a3a3">[{{ log.thread }}]</div>
<div class="text" style="color: #a771bf; font-weight: 500">{{ log.location }}</div> <div class="text" style="color: #a771bf; font-weight: 500">{{ log.location }}</div>
<div class="text">:</div> <div class="text">:</div>