fix: 使用showWelcomeStyle隐藏消息列表的方式,双重保险。

This commit is contained in:
肖应宇 2026-04-02 16:31:16 +08:00
parent 9710bd904c
commit 1c3f31ac0b
1 changed files with 3 additions and 1 deletions

View File

@ -333,7 +333,8 @@ export default function ChatPage() {
)}
>
<div className="flex size-full justify-center">
<MessageList
{!showWelcomeStyle &&
<MessageList
className={cn(
"size-full",
(!showWelcomeStyle || hasSubmitted) && "pt-[58px]",
@ -347,6 +348,7 @@ export default function ChatPage() {
}
paddingBottom={todoListCollapsed ? 160 : 280}
/>
}
</div>
</main>
</div>