|
@@ -459,7 +459,7 @@ export default {
|
|
|
// otheplaydiv.appendChild(newdiv);
|
|
|
const newdata = { swichuserid: this.userId_, swichindex: this.index_ };
|
|
|
this.swichusers.push(newdata);
|
|
|
- console.log(id_);
|
|
|
+ console.log('将用户push到列表里' + this.swichusers);
|
|
|
this.localStream_.play(id_);
|
|
|
}
|
|
|
},
|
|
@@ -617,6 +617,7 @@ export default {
|
|
|
console.log(id_);
|
|
|
const newdata = { swichuserid: this.userid_zs, swichindex: this.index_ };
|
|
|
this.swichusers.push(newdata);
|
|
|
+ console.log('将用户push到列表里' + this.swichusers);
|
|
|
if (this.user.uid === this.userid_zs) {
|
|
|
this.userindex_ = this.index_;
|
|
|
}
|