store/mutations.js
@@ -73,13 +73,13 @@ uni.onSocketMessage(function(res) { console.log(res.data); var data = JSON.parse(res.data) // if (data.type == 'video') { if (data.type == 'video') { // this.receiveVideo('Receiver', ); console.log('进入接受 跳转',data.type) uni.navigateTo({ url: '../videoCall/videoCall?state=Receiver&type=' + data.type +'&room=' + data.roomId }); // } } // console.log('收到服务器内容:' + res.data); });