yangjie #22
|
|
@ -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(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue