-
+
{{ member.showNickName }}
@@ -22,17 +22,17 @@ export default {
type: Object,
required: true
},
- height:{
+ height: {
type: Number,
default: 50
},
- active: {
- type: Boolean,
- default: false
- }
+ active: {
+ type: Boolean,
+ default: false
+ }
},
- computed:{
- headImageSize(){
+ computed: {
+ headImageSize() {
return Math.ceil(this.height * 0.75)
}
}
diff --git a/im-web/src/components/chat/ChatGroupReaded.vue b/im-web/src/components/chat/ChatGroupReaded.vue
index 62f6606..0759f4d 100644
--- a/im-web/src/components/chat/ChatGroupReaded.vue
+++ b/im-web/src/components/chat/ChatGroupReaded.vue
@@ -57,9 +57,9 @@ export default {
groupMembers: {
type: Array
},
- msgInfo: {
- type: Object
- }
+ msgInfo: {
+ type: Object
+ }
},
methods: {
close() {
@@ -100,16 +100,16 @@ export default {
// 区分已读还是未读
if (userIds.find(userId => member.userId == userId)) {
this.readedMembers.push(member);
- } else {
+ } else {
this.unreadMembers.push(member);
}
})
- // 更新已读人数
- this.$store.commit("updateMessage", {
- id: this.msgInfo.id,
- groupId: this.msgInfo.groupId,
- readedCount: this.readedMembers.length
- })
+ // 更新已读人数
+ this.$store.commit("updateMessage", {
+ id: this.msgInfo.id,
+ groupId: this.msgInfo.groupId,
+ readedCount: this.readedMembers.length
+ })
})
}
}
diff --git a/im-web/src/components/chat/ChatGroupSide.vue b/im-web/src/components/chat/ChatGroupSide.vue
index ce4bbce..047711a 100644
--- a/im-web/src/components/chat/ChatGroupSide.vue
+++ b/im-web/src/components/chat/ChatGroupSide.vue
@@ -8,18 +8,16 @@