补充前端交互边界注释
This commit is contained in:
@@ -347,6 +347,7 @@ export function bindMobileDrawerControls() {
|
||||
scheduleRenderMobileUserList();
|
||||
});
|
||||
|
||||
// 只有名单抽屉打开时才立即重渲染,关闭状态下等下次打开再读取最新 onlineUsers。
|
||||
window.addEventListener("chatroom:users-updated", () => {
|
||||
if (mobileDrawerOpen === "users") {
|
||||
renderMobileUserList();
|
||||
|
||||
Reference in New Issue
Block a user