聊天信息消失时间修改

This commit is contained in:
yj 2024-10-22 10:01:21 +08:00
parent 9aaf69b7d7
commit 56abb8a700
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ const ChatSmallWindow: React.FC = () => {
setChatLists((newChatList: any) => { setChatLists((newChatList: any) => {
data.parmes.chatListIten.timer = setTimeout(() => { data.parmes.chatListIten.timer = setTimeout(() => {
removeItemByIndex(); removeItemByIndex();
}, 3000); }, 10000);
return [data.parmes.chatListIten, ...newChatList] return [data.parmes.chatListIten, ...newChatList]
}) })
setTimeout(() => { setTimeout(() => {