修复使用sidebar-message插槽时切换联系人会报错的问题

This commit is contained in:
fan
2021-01-31 22:47:23 +08:00
parent ad39b5e011
commit e966808807
9 changed files with 39 additions and 59 deletions
+4 -1
View File
@@ -102,7 +102,10 @@
<lemon-badge :count="contact.unread" style="width:100%">
<div>
<p><span>{{ contact.displayName }}</span></p>
<p class="lemon-contact__content" style="height:18px;font-size:12px;color:#aaa;">最新消息:<span v-html="contact.lastContent"></span></p>
<p class="lemon-contact__content" style="height:18px;font-size:12px;color:#aaa;">
最新消息:
<span v-html="contact.lastContent"></span>
</p>
</div>
</lemon-badge>
</template>