From 8f8bf3283ac35f828f283662cc6f969d868e996f Mon Sep 17 00:00:00 2001 From: zyc <1439655764@qq.com> Date: Tue, 30 Jun 2026 11:16:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A1=B6=E6=A0=8F=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E4=B9=9F=E6=98=BE=E7=A4=BA=E7=9C=9F=E5=A4=B4=E5=83=8F=20(row29?= =?UTF-8?q?=20=E7=BB=AD2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 上轮只改了侧栏/账户菜单/设置页,漏了顶栏右上角 .topbar-avatar(App.tsx 与 pipeline.tsx 各一处)。 改为有 avatar_url 显 否则首字;.topbar-avatar 已有 overflow:hidden + img 铺满规则,CSS 不动。 Co-Authored-By: Claude Opus 4.8 --- core/frontend/src/App.tsx | 2 +- core/frontend/src/routes/pipeline.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/frontend/src/App.tsx b/core/frontend/src/App.tsx index 75d8e22..2967540 100644 --- a/core/frontend/src/App.tsx +++ b/core/frontend/src/App.tsx @@ -1084,7 +1084,7 @@ export function App() { {unreadCount > 0 && {unreadCount}}
- {avatarChar} + {currentUser.avatar_url ? 头像 : {avatarChar}}
diff --git a/core/frontend/src/routes/pipeline.tsx b/core/frontend/src/routes/pipeline.tsx index 2591c50..960b851 100644 --- a/core/frontend/src/routes/pipeline.tsx +++ b/core/frontend/src/routes/pipeline.tsx @@ -2473,7 +2473,7 @@ export function PipelinePage(props: { {unreadCount > 0 && {unreadCount}}
- {avatarChar} + {user.avatar_url ? 头像 : {avatarChar}}