|
@@ -402,7 +402,11 @@ export default {
|
|
|
|
|
|
// 如果是示范讨论组,获取旁听学员列表
|
|
|
if (is_example_group === 'true') {
|
|
|
- this.getMyGroupInfo_Student();
|
|
|
+ GetMyGroupInfo_Student({
|
|
|
+ task_id: this.task_id
|
|
|
+ }).then(({ audience_list }) => {
|
|
|
+ this.audience_list = audience_list;
|
|
|
+ });
|
|
|
this.is_example_group = true;
|
|
|
}
|
|
|
|
|
@@ -448,9 +452,7 @@ export default {
|
|
|
GetMyGroupInfo_Student({
|
|
|
task_id: this.task_id
|
|
|
}).then(({ live_room_sys_user_id, room_id, student_list, audience_list }) => {
|
|
|
- let data = student_list.find(el => {
|
|
|
- return el.is_self === 'true';
|
|
|
- });
|
|
|
+ let data = student_list.find(el => el.is_self === 'true');
|
|
|
this.session_id = data.session_id;
|
|
|
this.room_user_id = data.room_user_id;
|
|
|
this.live_room_sys_user_id = live_room_sys_user_id;
|