fix: 使用showWelcomeStyle隐藏消息列表的方式,双重保险。
This commit is contained in:
parent
9710bd904c
commit
1c3f31ac0b
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue