|
@@ -623,10 +623,10 @@ export default {
|
|
|
if (this.index_ < 6) {
|
|
|
const id_ = 'othe-video-' + this.index_;
|
|
|
console.log(id_);
|
|
|
- const newdata = { swichuserid: this.userid_zs, swichindex: this.index_ };
|
|
|
+ const newdata = { swichuserid: userid_zs, swichindex: this.index_ };
|
|
|
this.swichusers.push(newdata);
|
|
|
console.log('将用户push到列表里' + this.swichusers);
|
|
|
- if (this.user.uid === this.userid_zs) {
|
|
|
+ if (this.user.uid === userid_zs) {
|
|
|
this.userindex_ = this.index_;
|
|
|
}
|
|
|
remoteStream.play(id_);
|