This commit is contained in:
yj 2024-08-13 17:54:23 +08:00
parent 810c68bc96
commit d771aff700
1 changed files with 19 additions and 17 deletions

View File

@ -111,6 +111,7 @@ const App: React.FC = () => {
}, []) }, [])
useEffect(() => { useEffect(() => {
setTimeout(() => {
onOtherSignalr(async (item: any) => { onOtherSignalr(async (item: any) => {
switch (item.key) { switch (item.key) {
case 'Invitation': case 'Invitation':
@ -127,7 +128,8 @@ const App: React.FC = () => {
break; break;
} }
}) })
}, [navigate]) }, 3000);
}, [])
useEffect(() => { useEffect(() => {
try { try {