会话群代码调整

This commit is contained in:
dong 2023-04-25 15:56:18 +08:00
parent 0805383fde
commit 2d15eee9f8
2 changed files with 11 additions and 1 deletions

View File

@ -33,7 +33,7 @@
<div class="activeLine" />
</div>
<div class="nullDiv" />
<div class="editFilter pointer">
<div class="editFilter " :class="myMemberId ? 'pointer' : 'disable'">
<i class="el-icon-plus" title="创建会话群" @click="createGroup" />
<!-- <i class="el-icon-more" /> -->
</div>
@ -208,6 +208,7 @@ export default {
return name;
},
createGroup() {
if (!this.myMemberId) { return; }
this.$refs.editGroup.doShow();
},
getLastMsg(list) {
@ -317,6 +318,9 @@ export default {
.pointer {
cursor: pointer;
}
.disable {
cursor: not-allowed;
}
.dialogHeader {
padding: 5px 10px;
display: flex;

View File

@ -173,6 +173,12 @@ export default {
memberList () {
this.getTreeData();
},
myMemberId(val) {
this.initData();
if (!val) {
this.handleClose();
}
},
'$store.state.map.activeTrainListChange': function () {
this.getActiveTrains();
}