From 734b2d5d9501e167c827b8a2fb6b11dbc7f16d6a Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 12 Aug 2021 14:27:02 +0800
Subject: [PATCH] 视频
---
pages/videoCall/videoCall.nvue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pages/videoCall/videoCall.nvue b/pages/videoCall/videoCall.nvue
index b5a11f4..0f8039d 100644
--- a/pages/videoCall/videoCall.nvue
+++ b/pages/videoCall/videoCall.nvue
@@ -229,7 +229,7 @@
if (option.state == "Mains") {
that.isMain = true;
var call = false;
- // this.userName = 'faqiren';
+ this.userName = that.$store.state.puserName;
// setTimeout(res => {
//发起请求 给后端双方姓名
@@ -263,7 +263,11 @@
that.channel = d.roomId;
console.log('对方在线-- 等待对方接受');
// call = true;
+ setTimeout(res => {
+ // uni.navigateBack();
+ // console.log(111)
that.join();
+ }, 2000)
}
}
})
@@ -284,7 +288,7 @@
// }, 5000)
} else if (option.state == "Receiver") {
- that.userName = option.name;
+ that.userName = that.$store.state.puserName;
// that.formName = 'wo';
that.channel = option.room;
that.isMain = false;
--
Gitblit v1.9.3