Commit 05a12c19 authored by nick zheng's avatar nick zheng

fix: 多模型调试大模型完成后无需再触底

parent f5056cbb
...@@ -278,7 +278,11 @@ function handleClearAllMessage() { ...@@ -278,7 +278,11 @@ function handleClearAllMessage() {
// 滚动页面 // 滚动页面
function handleMessageListScrollToBottom() { function handleMessageListScrollToBottom() {
if (modelDialogueListRef.value) { if (modelDialogueListRef.value) {
modelDialogueListRef.value.forEach((modelDialogueItemRef) => { modelDialogueListRef.value.forEach((modelDialogueItemRef, index) => {
if (!multiModelDialogueList.value?.[index]?.isAnswerResponseWait) {
return
}
modelDialogueItemRef?.scrollToBottom && modelDialogueItemRef.scrollToBottom() modelDialogueItemRef?.scrollToBottom && modelDialogueItemRef.scrollToBottom()
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment