接收到当前房间在线人数更新时,自动更新显示
This commit is contained in:
parent
f27fa4bec2
commit
f2cfba8d2f
@ -151,6 +151,9 @@
|
||||
room.onlinecount = d.count;
|
||||
//更新显示
|
||||
that.refreshOnlineCount();
|
||||
|
||||
//更新显示
|
||||
$("#chat_server_select li[data-id='" + room.id + "'] span").html("(" + d.count + "人)");
|
||||
});
|
||||
port.on("sendMessageFailed", function (e, data) {
|
||||
that.appendMessageItem(roomStateTemplate({ state: "error", stateIcon: "fa-times", msg: "消息发送失败:" + data, exinfo: "" }));
|
||||
|
Loading…
Reference in New Issue
Block a user