【优化】Chat 字体滚动,如果stream结束,开始加速
This commit is contained in:
parent
a3c5d253b3
commit
43a41290a0
@ -141,7 +141,7 @@ const textRoll = async () => {
|
|||||||
}
|
}
|
||||||
// 对话结束,就按30的速度
|
// 对话结束,就按30的速度
|
||||||
if (!conversationInProgress.value) {
|
if (!conversationInProgress.value) {
|
||||||
textSpeed.value = 30
|
textSpeed.value = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`diff ${diff} 速度 ${textSpeed.value} `)
|
console.log(`diff ${diff} 速度 ${textSpeed.value} `)
|
||||||
|
Loading…
Reference in New Issue
Block a user