数据结构优化

This commit is contained in:
李琦
2026-01-20 11:00:42 +08:00
parent 29a642c285
commit b088ba48be
17 changed files with 1073 additions and 49 deletions

View File

@@ -23,6 +23,7 @@
<th>ID</th>
<th>操作人</th>
<th>IP地址</th>
<th>归属地</th>
<th>路径</th>
<th>方法</th>
<th>状态</th>
@@ -34,7 +35,8 @@
<tr v-for="log in logs.list" :key="log.id">
<td>{{ log.id }}</td>
<td>{{ log.username }}</td>
<td>{{ log.ip }}</td>
<td class="font-mono text-xs">{{ log.ip }}</td>
<td>{{ log.region || 'Unknown' }}</td>
<td class="log-path">{{ log.path }}</td>
<td>
<span :class="['method-badge', `method-${log.method.toLowerCase()}`]">