进入到群会话的时候,更新群信息
This commit is contained in:
@@ -119,6 +119,7 @@
|
|||||||
initGroupInfo() {
|
initGroupInfo() {
|
||||||
// 获取群信息,成员数量,设置标题
|
// 获取群信息,成员数量,设置标题
|
||||||
getGroupBase(this.targetId).then(res => {
|
getGroupBase(this.targetId).then(res => {
|
||||||
|
this.$store.dispatch('updateContact', res)
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: res.name + `(${res.members})`
|
title: res.name + `(${res.members})`
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user