创建群组的提示

This commit is contained in:
2022-02-17 11:22:02 +08:00
parent 3a3517b5be
commit 155d59a6a3
2 changed files with 10 additions and 5 deletions

View File

@@ -74,7 +74,12 @@
},
mounted() {
this.initGroupInfo()
this.initUsers()
getGroupUsers(this.targetId, this.count).then(res => {
this.users = res
res.map(item => {
this.$store.dispatch('updateContact', item)
})
})
},
methods: {
initGroupInfo() {
@@ -88,7 +93,6 @@
initUsers() {
getGroupUsers(this.targetId, this.count).then(res => {
this.users = res
console.log('群成员列表', res);
})
},
hideAction(item) {