diff --git a/web/src/components/table/usage-logs/UsageLogsColumnDefs.jsx b/web/src/components/table/usage-logs/UsageLogsColumnDefs.jsx index 84e57ea6f..b3096c286 100644 --- a/web/src/components/table/usage-logs/UsageLogsColumnDefs.jsx +++ b/web/src/components/table/usage-logs/UsageLogsColumnDefs.jsx @@ -578,9 +578,6 @@ export const getLogsColumns = ({ other?.is_system_prompt_overwritten, 'openai', ); - if (isAdminUser && other?.reject_reason) { - content += `\nBlock reason: ${other.reject_reason}`; - } return ( { value: logs[i].content, }); } + if (isAdminUser && other?.reject_reason) { + expandDataLocal.push({ + key: t('拦截原因'), + value: other.reject_reason, + }); + } } if (logs[i].type === 2) { let modelMapped =