添加上线时间

This commit is contained in:
lj124 2026-05-18 20:41:31 +08:00
parent 888828b7a1
commit abee38a7dc
2 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,7 @@ export interface OnlineUserInfoList {
vpn_dp_secret: string;
uuid: string;
last_update_time: number;
online_time: number;
host_info: HostInfo | null;
}

View File

@ -67,6 +67,11 @@
<el-tag v-else type="danger" size="small">未知</el-tag>
</template>
</el-table-column>
<el-table-column prop="online_time" label="上线时间" width="180">
<template #default="scope">
{{ formatTime(scope.row.online_time) }}
</template>
</el-table-column>
<el-table-column prop="last_update_time" label="最后更新时间" width="180">
<template #default="scope">
{{ formatTime(scope.row.last_update_time) }}