diff --git a/web/admin/src/views/security/RequestAuditLogsPage.vue b/web/admin/src/views/security/RequestAuditLogsPage.vue index f73b366..69eab81 100644 --- a/web/admin/src/views/security/RequestAuditLogsPage.vue +++ b/web/admin/src/views/security/RequestAuditLogsPage.vue @@ -178,7 +178,7 @@ const columns: TableColumnData[] = [ }, { title: '时间', dataIndex: 'created_at', width: 170 }, { - title: '', dataIndex: 'actions', width: 60, fixed: 'right', + title: '操作', dataIndex: 'actions', width: 80, fixed: 'right', render({ record }) { return h(Button, { size: 'mini', type: 'text', @@ -223,7 +223,7 @@ async function fetchDetail(id: number) { showDetail.value = true try { const res: any = await request.get(`/admin/audit/request-logs/${id}`) - const detail = res.data?.data?.data || null + const detail = res.data?.data || null if (detail?.forwarding_trace) { detail.forwarding_trace = parseJson(detail.forwarding_trace) } diff --git a/web/admin/src/views/tenant/UsageLogsPage.vue b/web/admin/src/views/tenant/UsageLogsPage.vue index 8916e47..3cddca1 100644 --- a/web/admin/src/views/tenant/UsageLogsPage.vue +++ b/web/admin/src/views/tenant/UsageLogsPage.vue @@ -1,9 +1,10 @@