智慧保安互联网APP
shuishen
2021-08-19 f74defb124e2ee985c7a713c9e47b90062cfa555
修改
2 files modified
27 ■■■■■ changed files
pages/groupChat/groupChat.vue 8 ●●●● patch | view | raw | blame | history
pages/videoCall/videoCall.nvue 19 ●●●● patch | view | raw | blame | history
pages/groupChat/groupChat.vue
@@ -203,13 +203,7 @@
                                }
                            }
                            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) {
pages/videoCall/videoCall.nvue
@@ -439,10 +439,10 @@
                // 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({
@@ -477,7 +477,16 @@
                // 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() { //接受进入视频
                // 传输接受的值