会话群调整
This commit is contained in:
parent
50e5e92a05
commit
7dd973c13e
@ -40,7 +40,7 @@
|
||||
</div>
|
||||
<div class="middleMain">
|
||||
<div v-for="(item, index) in groupList" :key="index" class="row pointer" :class="{active: item.id === id}" @click="groupClick(item)">
|
||||
<div v-show="false" class="groupIcon"><img :src="getImgUrl(item.imageUrl)" alt=""></div>
|
||||
<div v-show="item.imageUrl" class="groupIcon"><img :src="getImgUrl(item.imageUrl)" alt=""></div>
|
||||
<div class="groupInfo">
|
||||
<div class="text"><b>{{ item.name }}</b></div>
|
||||
<div class="text">{{ getLastMsg(item.messageList) }}</div>
|
||||
|
@ -431,13 +431,13 @@ export default {
|
||||
};
|
||||
createGroup(this.groupId, params).then(res => {
|
||||
console.log(res, 'res');
|
||||
if (res.code == 200) {
|
||||
this.$refs.form.resetFields();
|
||||
this.handleClose();
|
||||
this.$emit('createGroup');
|
||||
}
|
||||
this.$message.success('创建会话群成功!');
|
||||
}).catch(err => {
|
||||
console.log(err, 'err');
|
||||
this.$message.error(`创建会话群失败!${err.message}`);
|
||||
});
|
||||
},
|
||||
uploadLogo() {
|
||||
|
Loading…
Reference in New Issue
Block a user