diff --git a/pages/im/group/chat.vue b/pages/im/group/chat.vue index ac1260c..d5a3aa2 100644 --- a/pages/im/group/chat.vue +++ b/pages/im/group/chat.vue @@ -119,6 +119,7 @@ initGroupInfo() { // 获取群信息,成员数量,设置标题 getGroupBase(this.targetId).then(res => { + this.$store.dispatch('updateContact', res) uni.setNavigationBarTitle({ title: res.name + `(${res.members})` })