| pages/videoCall/videoCall.nvue | ●●●●● patch | view | raw | blame | history |
pages/videoCall/videoCall.nvue
@@ -292,6 +292,7 @@ // } if (data.type == 'close') { console.log('对方已挂断'); RtcModule.leaveChannel((res) => {}); that.closeAll(); } }); @@ -459,11 +460,18 @@ //离开频道 // RtcModule.leaveChannel((res) => {}); // this.closeAll(); var data = { sentId:this.faqiid, acceptId: this.jieshouid } // uni.navigateBack(); uni.request({ url: this.$store.state.api + 'pushMsg/closeVideoCall', data:{ data:data, success:(res)=> { // RtcModule.leaveChannel((res) => {}); // this.closeAll(); console.log(res,'成功关闭'); } }) },