yangjie #22

Merged
yangqiang merged 99 commits from yangjie into master 2024-10-22 16:11:46 +08:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 4032056620 - Show all commits

View File

@ -21,9 +21,9 @@ const ChatSmallWindow: React.FC = () => {
}
}, []);
useEffect(() => {
const chatBigWindowView = document.getElementById('chatBigWindowView') as HTMLElement;
if (chatBigWindowView) {
chatBigWindowView.scrollTop = chatBigWindowView.scrollHeight;
const chatSmallWindowView = document.getElementById('chatSmallWindowView') as HTMLElement;
if (chatSmallWindowView) {
chatSmallWindowView.scrollTop = chatSmallWindowView.scrollHeight;
}
}, [chatLists]);
const removeItemByIndex = () => {