From dd10ee2243fcfc1a0f6ae340c4c1732e5c5d1cf2 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 12 Aug 2021 10:23:23 +0800
Subject: [PATCH] 视频1
---
store/mutations.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/store/mutations.js b/store/mutations.js
index 664665e..9665061 100644
--- a/store/mutations.js
+++ b/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);
});
--
Gitblit v1.9.3