| | |
| | | } |
| | | } |
| | | |
| | | that.dataListTXL = []; |
| | | for (var i = 0; i < 100; i++) { |
| | | that.dataListTXL.push(resdata[0]) |
| | | } |
| | | |
| | | |
| | | // that.dataListTXL = resdata; |
| | | that.dataListTXL = resdata; |
| | | } |
| | | }) |
| | | } else if (this.current == 2) { |
| | |
| | | // if (val == "Mains") { //视频发起人进入 |
| | | console.log('视频发起人进入'); |
| | | console.log(this.uid, '进入检测uid') |
| | | uni.showLoading({ |
| | | title: '加载中', |
| | | mask: true |
| | | }); |
| | | // uni.showLoading({ |
| | | // title: '加载中', |
| | | // mask: true |
| | | // }); |
| | | //加入房间 |
| | | console.log('room', this.channel, 'useid', this.uid) |
| | | await RtcModule.joinChannel({ |
| | |
| | | // RtcModule.leaveChannel((res) => {}); |
| | | console.log("等待时候挂断"); |
| | | uni.navigateBack(); |
| | | this.closeAll(); |
| | | // this.closeAll(); |
| | | uni.request({ |
| | | url: this.$store.state.api + '/pushMsg/closeVideoCall', |
| | | data: data, |
| | | success: (res) => { |
| | | // RtcModule.leaveChannel((res) => {}); |
| | | // this.closeAll(); |
| | | console.log(res, '成功关闭'); |
| | | } |
| | | }) |
| | | }, |
| | | joinit() { //接受进入视频 |
| | | // 传输接受的值 |