|
@@ -110,9 +110,11 @@
|
|
|
this.$refs.jhlive&&this.$refs.jhlive.exitRoom();
|
|
|
},
|
|
|
handleRemoteUser(users) {
|
|
|
- debugger
|
|
|
+ console.log('获取自助采摘观看人数', users)
|
|
|
+ this.num = users.length;
|
|
|
this.subtitle = users.length;
|
|
|
- users.length&&this.request(API.getMainInfo +"?userId="+ users[0], {}, 'GET').then(res => {
|
|
|
+ users.length&&NET.request(API.getMainInfo +"?userId="+ users[0], {}, 'GET').then(res => {
|
|
|
+ console.log('获取用户信息', res)
|
|
|
this.avatar = res.data.headimg;
|
|
|
this.title = res.data.nickname;
|
|
|
}).catch(error => {
|