补充前端交互边界注释

This commit is contained in:
2026-04-25 10:17:51 +08:00
parent e341f2d1a7
commit a847dad00a
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -347,6 +347,7 @@ export function bindMobileDrawerControls() {
scheduleRenderMobileUserList();
});
// 只有名单抽屉打开时才立即重渲染,关闭状态下等下次打开再读取最新 onlineUsers。
window.addEventListener("chatroom:users-updated", () => {
if (mobileDrawerOpen === "users") {
renderMobileUserList();