From 996619fc839f4a506978ee834cd2ee4b03cc1471 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 19 Aug 2021 18:35:45 +0800
Subject: [PATCH] 好友功能完善

---
 pages/groupChat/chating.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pages/groupChat/chating.vue b/pages/groupChat/chating.vue
index 9cc49ac..fa54702 100644
--- a/pages/groupChat/chating.vue
+++ b/pages/groupChat/chating.vue
@@ -172,7 +172,11 @@
 			console.log(data,55555555555555555555555)
 			this.name = ['wo',option.chatID];
 			// console.log(data)
-			this.callName = data.name;
+			if(typeof data.recipientName == "undefined"){
+				this.callName = data.realName;
+			}else{
+				this.callName = data.recipientName;
+			}
 		},
 		methods:{
 			// 返回键

--
Gitblit v1.9.3