Commit cb703fdb by zhouzy

1

1 parent 85a27179
......@@ -59,8 +59,7 @@
<div class="itemsBox">
<div
:class="[dialogMessage.length > 4 ? 'head-img-five-dialog' : dialogMessage.length > 1 ? 'head-img-two-dialog' : 'head-img-one-dialog', 'head-img']"
v-for="user in dialogMessage"
:key="user.id"
v-for="(item, index) in dialogMessage.length > 9? dialogMessage.slice(0,9): dialogMessage" :key="index"
>
<img src="@/assets/images/user.png" alt="" />
</div>
......@@ -130,13 +129,7 @@ export default {
console.log(res, '???')
//打开刚创建的群聊
let chatId = this.insertParams.chatId
let msg = {
msgtype: 'link',
link: {
desc: this.welcome,
}
}
window.$wx.openExistedChatWithMsg({ chatId,msg }).then(res => {
window.$wx.openExistedChatWithMsg({ chatId}).then(res => {
console.log(this.addGroupParams.chatId, '55555')
})
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!