|
@@ -38,14 +38,14 @@ export default defineComponent({
|
|
|
await this._init()
|
|
|
this.loadingLook = true
|
|
|
event.on(LIVE_EVENT_MESSAGE["RC:Chatroom:Welcome"], this.onWelcome);
|
|
|
- event.on(LIVE_EVENT_MESSAGE["RC:Chatroom:MemberCount"], this.onMemberCount);
|
|
|
+ event.on(LIVE_EVENT_MESSAGE["RC:Chatroom:MemberCountUp"], this.onMemberCount);
|
|
|
setTimeout(() => {
|
|
|
this.loadingLook = false;
|
|
|
})
|
|
|
},
|
|
|
beforeUnmount() {
|
|
|
event.off(LIVE_EVENT_MESSAGE["RC:Chatroom:Welcome"], this.onWelcome);
|
|
|
- event.off(LIVE_EVENT_MESSAGE["RC:Chatroom:MemberCount"], this.onMemberCount);
|
|
|
+ event.off(LIVE_EVENT_MESSAGE["RC:Chatroom:MemberCountUp"], this.onMemberCount);
|
|
|
},
|
|
|
methods: {
|
|
|
async _init() {
|