mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交上阵
This commit is contained in:
@@ -30,13 +30,13 @@ export class MainChatView extends JNGLayerBase {
|
||||
this.onInitUpdate();
|
||||
|
||||
//监听消息
|
||||
ChatData.getIns().on(this.onMessage.bind(this));
|
||||
ChatData.getIns().on(this.onMessage.bind(this),this);
|
||||
|
||||
}
|
||||
|
||||
onJNClose(): void {
|
||||
super.onJNClose();
|
||||
ChatData.getIns().off(this.onMessage.bind(this));
|
||||
ChatData.getIns().off(this.onMessage.bind(this),this);
|
||||
}
|
||||
|
||||
//初始化聊天显示
|
||||
|
Reference in New Issue
Block a user