feat: tab broadcast

This commit is contained in:
Tristan Yang
2023-01-20 23:48:14 +08:00
parent 6620c6a3e4
commit 0891b77673
7 changed files with 140 additions and 11 deletions
+2
View File
@@ -277,6 +277,8 @@ export default function useStreaming() {
}, [afterMid, usersVersion]);
const stopStreaming = () => {
// 先清掉定时器
window.clearTimeout(aliveInter);
if (SSE) {
SSE.close();
SSE = undefined;