Explorar el Código

fix:修复好友头像不显示的bug

xsx hace 2 años
padre
commit
6fbaa6d890

+ 1 - 1
im-ui/src/components/chat/ChatPrivateVideo.vue

@@ -139,7 +139,7 @@
 					type: 'PRIVATE',
 					targetId: this.rtcInfo.friend.id,
 					showName: this.rtcInfo.friend.nickName,
-					headImage: this.rtcInfo.friend.headImageThumb,
+					headImage: this.rtcInfo.friend.headImage,
 				};
 				this.$store.commit("openChat", chat);
 				// 插入消息

+ 1 - 1
im-uniapp/pages/chat/chat-video.vue

@@ -25,7 +25,7 @@
 					type: 'PRIVATE',
 					targetId: this.friend.id,
 					showName: this.friend.nickName,
-					headImage: this.friend.headImageThumb,
+					headImage: this.friend.headImage,
 				};
 				this.$store.commit("openChat",chat);
 				this.$store.commit("insertMessage", msgInfo);