This commit is contained in:
fan 2023-05-26 15:32:54 +08:00
commit edcdd8989f

View File

@ -17,8 +17,8 @@
</div>
<div class="dialogBody">
<div class="leftBox">
<div class="leftLogo">
<img :src="logoImgUrl" :alt="logoImgUrl">
<div class="leftLogo" :title="loginProtitle">
<img :src="logoImgUrl" alt="">
</div>
<div v-for="(item, index) in tabs" :key="index" class="tab pointer" :class="{active: index === tabActive}" @click="tabsClick(index)">
<i :class="item.icon" />
@ -115,7 +115,7 @@ export default {
};
},
computed: {
...mapGetters('projectConfig', ['loginProLogo']),
...mapGetters('projectConfig', ['loginProLogo', 'loginProtitle']),
groupId() {
return this.$route.query.group;
},
@ -514,7 +514,7 @@ export default {
}
});
if (this.groupList && this.groupList[0] && !this.id && !this.privateChatId) {
this.id = this.groupList[0].id;
this.groupClick(this.groupList[0]);
}
});
},
@ -554,7 +554,9 @@ export default {
} else {
this.privateChatId = this.getPrivateChatId(item);
}
this.setReadGroup();
if (this.getBadge(item.messageList)) {
this.setReadGroup();
}
},
getPrivateChatId(item) {
let pId = '';