From 886a9f2deb311453f12cb0302bcb882a9d331d7a Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 06 Dec 2021 09:23:34 +0800
Subject: [PATCH] 问题修复
---
components/submit/submit.vue | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/components/submit/submit.vue b/components/submit/submit.vue
index 4591c0e..3e9d6fd 100644
--- a/components/submit/submit.vue
+++ b/components/submit/submit.vue
@@ -76,7 +76,7 @@
const recorderManager = uni.getRecorderManager()
export default {
- props: ['names','callname'],
+ props: ['names', 'callname'],
data() {
return {
isrecord: false,
@@ -91,7 +91,6 @@
};
},
mounted() {
- console.log(this.callname,1111)
},
components: {
emoji,
@@ -114,11 +113,11 @@
this.isrecord = !this.isrecord
this.isemoji = false
this.ismore = false
-
+
setTimeout(() => {
this._getElementHeight()
}, 10)
-
+
},
// 点击弹出表情
emoji() {
@@ -183,7 +182,7 @@
message: msg,
types: type
}
-
+
this.$emit('inputs', data)
setTimeout(() => {
this.msg = ''
@@ -273,10 +272,9 @@
openAudio(val) { //Mains
// console.log(this.names)
// var socketOpen = false;
-
-
uni.navigateTo({
- url: '../videoCall/videoCall?state=' + val + '&type=audio'
+ url: '../videoCall/videoCall?state=' + val + '&type=audio' + '&myname=' + this.names[0] +
+ '&toname=' + this.names[1] + '&callname=' + this.callname
});
},
//接收音频
@@ -307,8 +305,8 @@
// // }
// }
var url = '../videoCall/videoCall?state=' + val + '&type=video' + '&myname=' + this.names[0] +
- '&toname=' + this.names[1] + '&callname=' + this.callname
- console.log(url)
+ '&toname=' + this.names[1] + '&callname=' + this.callname
+ console.log(url)
uni.navigateTo({
url: url
});
--
Gitblit v1.9.3