修改断开
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m31s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m31s
This commit is contained in:
parent
fa7c5b7c7a
commit
e92e4fbcd7
@ -914,9 +914,11 @@ class WebRTCChat {
|
|||||||
this.videoContainer.classList.remove('calling');
|
this.videoContainer.classList.remove('calling');
|
||||||
}
|
}
|
||||||
|
|
||||||
// 直接刷新页面清除所有缓存
|
// 延迟刷新,确保服务器处理完断开逻辑
|
||||||
console.log('通话已结束,正在刷新页面清除缓存...');
|
console.log('通话已结束,5秒后刷新页面清除缓存...');
|
||||||
|
setTimeout(() => {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
|
}, 5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 清除视频缓存的方法
|
// 清除视频缓存的方法
|
||||||
|
|||||||
BIN
src/tx.png
BIN
src/tx.png
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 MiB After Width: | Height: | Size: 287 KiB |
Loading…
x
Reference in New Issue
Block a user