|
@@ -13,7 +13,7 @@
|
|
|
<div class="im-chat-box">
|
|
<div class="im-chat-box">
|
|
|
<ul>
|
|
<ul>
|
|
|
<li v-for="(msgInfo, idx) in chat.messages" :key="idx">
|
|
<li v-for="(msgInfo, idx) in chat.messages" :key="idx">
|
|
|
- <chat-message-item v-show="idx >= showMinIdx"
|
|
|
|
|
|
|
+ <chat-message-item v-if="idx >= showMinIdx"
|
|
|
@call="onCall(msgInfo.type)"
|
|
@call="onCall(msgInfo.type)"
|
|
|
:mine="msgInfo.sendId == mine.id"
|
|
:mine="msgInfo.sendId == mine.id"
|
|
|
:headImage="headImage(msgInfo)" :showName="showName(msgInfo)" :msgInfo="msgInfo"
|
|
:headImage="headImage(msgInfo)" :showName="showName(msgInfo)" :msgInfo="msgInfo"
|