Revert "会话群代码调整"

This reverts commit 2d15eee9f8.
This commit is contained in:
fan 2023-05-06 10:49:24 +08:00
parent 1b1ddad29e
commit c563fe8efa
2 changed files with 1 additions and 11 deletions

View File

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

View File

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