fix: 修复聊天记录页面崩溃问题并添加错误边界保护

This commit is contained in:
hicccc77
2026-03-08 18:51:20 +08:00
parent e54eb8fea2
commit 836032d93e
3 changed files with 67 additions and 14 deletions

View File

@@ -33,6 +33,16 @@
gap: 12px;
align-items: flex-start;
&.error-item {
padding: 12px;
background: var(--bg-secondary);
border-radius: 8px;
color: var(--text-tertiary);
font-size: 13px;
text-align: center;
justify-content: center;
}
.avatar {
width: 40px;
height: 40px;