会话群代码调整
This commit is contained in:
parent
0805383fde
commit
2d15eee9f8
@ -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;
|
||||
|
@ -173,6 +173,12 @@ export default {
|
||||
memberList () {
|
||||
this.getTreeData();
|
||||
},
|
||||
myMemberId(val) {
|
||||
this.initData();
|
||||
if (!val) {
|
||||
this.handleClose();
|
||||
}
|
||||
},
|
||||
'$store.state.map.activeTrainListChange': function () {
|
||||
this.getActiveTrains();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user