“yueshang” hace 2 años
padre
commit
2783e6b9f1
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/liveChat/index.vue

+ 2 - 1
src/views/liveChat/index.vue

@@ -584,13 +584,14 @@ onMounted(() => {
             删除会话
           </button>
           <div>
+            
             <img
               :src="wangzhi + item.fromAvatar"
               class="head-sculpture"
               :onerror="headError(index,item)"
               v-if="item.toId == userIds.uid && item.fromAvatar"
             />
-            <img :src="item.avatar" :onerror="headError(index,item)" alt="" v-else-if="item.avatar"/>
+            <img :src="wangzhi + item.avatar" :onerror="headError(index,item)" alt="" class="head-sculpture" v-else-if="item.avatar"/>
             <img
               :src="wangzhi + item.toAvatar"
               class="head-sculpture"