|
@@ -404,6 +404,13 @@ export default {
|
|
|
this.stermStop(this.localStream_);
|
|
|
this.localStream_.muteAudio();
|
|
|
this.localStream_.muteVideo();
|
|
|
+ const newdatas = [];
|
|
|
+ for (const elm of this.stremMeetlist) {
|
|
|
+ if (elm.swichuserid !== body.userid) {
|
|
|
+ newdatas.push(elm);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.$set(this, `stremMeetlist`, newdatas);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -825,6 +832,13 @@ export default {
|
|
|
if (this.index_ > 0) {
|
|
|
this.index_ = this.index_ - 1;
|
|
|
}
|
|
|
+ const newdatas = [];
|
|
|
+ for (const elm of this.stremMeetlist) {
|
|
|
+ if (elm.swichuserid !== useridzs_) {
|
|
|
+ newdatas.push(elm);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.$set(this, `stremMeetlist`, newdatas);
|
|
|
}
|
|
|
console.log('退出');
|
|
|
console.log(event);
|