mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
perf: 参数值
This commit is contained in:
@@ -88,7 +88,7 @@ const Chat = ({ chatId }: { chatId: string }) => {
|
||||
throttle(() => {
|
||||
if (!ChatBox.current) return;
|
||||
const isBottom =
|
||||
ChatBox.current.scrollTop + ChatBox.current.clientHeight + 50 >=
|
||||
ChatBox.current.scrollTop + ChatBox.current.clientHeight + 80 >=
|
||||
ChatBox.current.scrollHeight;
|
||||
|
||||
isBottom && scrollToBottom('auto');
|
||||
|
Reference in New Issue
Block a user