fix(admin): 观看时间统一格式化为 yyyy-MM-dd HH:mm:ss
后端改输出格式后仍保留前端兜底,同时修掉用户详情里的原始 ISO 展示。
This commit is contained in:
1 parent
111bbdaeb7
commit
daf681ae1a
3 files changed
+14
-3
No files matched your search
@@ -9,6 +9,7 @@ import { useRbac } from '@/stores/rbac'
|
||||
import {
|
||||
APP_USER_STATUS,
|
||||
COUNTRY_OPTIONS,
|
||||
formatDateTime,
|
||||
formatDuration,
|
||||
statusMeta,
|
||||
systemText,
|
||||
@@ -312,7 +313,9 @@ function canBeBanned(row) {
|
||||
SOURCE_TEXT[row.source] || row.source || '—'
|
||||
}}</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="watchedAt" label="时间" width="160" show-overflow-tooltip />
|
||||
<el-table-column label="时间" width="160">
|
||||
<template #default="{ row }">{{ formatDateTime(row.watchedAt) }}</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user