会话存档

This commit is contained in:
liuye
2023-06-08 17:17:36 +08:00
parent 077fc80264
commit ad2e5bccab
2 changed files with 3 additions and 0 deletions

View File

@@ -60,6 +60,7 @@
<div class="item-content-flex">
<!-- <i class="el-icon-warning" v-if="item.userId == id"></i> -->
<img :src="item.userAvatar" alt="" class="user-img" v-if="item.userId != id">
<img src="./img/user-img.png" alt="" class="user-img" v-if="item.userId != id && !item.userAvatar">
<div class="content" v-if="item.msgType == 'text'">
<span></span>
@@ -214,6 +215,7 @@
},
typeClick(index) {
this.tabIndex = index
this.msgType = 0
this.getListInit()
},
onChange() {
@@ -230,6 +232,7 @@
},
leftClick(index) {
this.leftActiveIndex = index
this.msgType = 0
this.getMsgListInit()
},
msgTypeClick(index) {