diff --git a/frontend/src/views/Avatars.vue b/frontend/src/views/Avatars.vue index 118a79e..fc2fd00 100644 --- a/frontend/src/views/Avatars.vue +++ b/frontend/src/views/Avatars.vue @@ -23,10 +23,13 @@ - + - + - + @@ -92,9 +95,12 @@
- + {{ detailAvatar.emoji || '🤖' }} + + {{ detailAvatar.emoji || '' }} +
{{ detailAvatar.name }}
{{ detailAvatar.display_name }}
@@ -249,6 +255,11 @@ function openDetail(row) { detailVisible.value = true } +function handleAvatarError(e) { + // 图片加载失败时隐藏 img,只保留 emoji fallback + e.target.style.display = 'none' +} + function rowClassName({ rowIndex }) { return rowIndex % 2 === 0 ? 'row-dark' : 'row-darker' }