fix:错误文本添加换行,避免过长溢出

This commit is contained in:
scyang
2026-03-13 12:50:43 +08:00
parent 464b0be704
commit 0e36d1c351
+1 -1
View File
@@ -836,7 +836,7 @@ export default function ProxyLogs() {
{detail && pathMeta.errorMessage.trim().length > 0 && (
<div style={{ display: 'flex', gap: 6 }}>
<span style={{ fontWeight: 600, color: 'var(--color-danger)', flexShrink: 0 }}>错误信息</span>
<span style={{ color: 'var(--color-danger)' }}>{pathMeta.errorMessage}</span>
<span style={{ color: 'var(--color-danger)', whiteSpace: 'pre-wrap' }}>{pathMeta.errorMessage}</span>
</div>
)}
</div>