|
@@ -281,9 +281,9 @@ export function initListener(vue) {
|
|
|
});
|
|
|
|
|
|
// 用户退出房间通知其他人员事件
|
|
|
- rtc.on('exit_room_user', function (data) {
|
|
|
+ rtc.on('exit_room_user', data => {
|
|
|
console.log('用户退出房间通知其他人员事件', data);
|
|
|
- vue.studentExitLiveRoom(data.id, true);
|
|
|
+ vue.studentExitLiveRoom(data.id, false);
|
|
|
});
|
|
|
|
|
|
/**
|