refactor(frontend): 将账号显示替换为用户显示

- 在错误日志表格中将账号列替换为用户列
- 在错误详情模态框中将账号信息替换为用户信息
- 显示用户邮箱而不是账号名称
- 上游错误的账号信息保留在上游错误上下文中
This commit is contained in:
IanShaw027
2026-01-14 23:59:26 +08:00
parent 2a6fb1e456
commit 8c993dfd35
2 changed files with 6 additions and 7 deletions

View File

@@ -29,9 +29,9 @@
</div>
<div class="rounded-xl bg-gray-50 p-4 dark:bg-dark-900">
<div class="text-xs font-bold uppercase tracking-wider text-gray-400">{{ t('admin.ops.errorDetail.account') }}</div>
<div class="text-xs font-bold uppercase tracking-wider text-gray-400">{{ t('admin.ops.errorDetail.user') }}</div>
<div class="mt-1 text-sm font-medium text-gray-900 dark:text-white">
{{ detail.account_name || (detail.account_id != null ? String(detail.account_id) : '—') }}
{{ detail.user_email || (detail.user_id != null ? String(detail.user_id) : '—') }}
</div>
</div>