Commit cb703fdb by zhouzy

1

1 parent 85a27179
...@@ -59,8 +59,7 @@ ...@@ -59,8 +59,7 @@
<div class="itemsBox"> <div class="itemsBox">
<div <div
:class="[dialogMessage.length > 4 ? 'head-img-five-dialog' : dialogMessage.length > 1 ? 'head-img-two-dialog' : 'head-img-one-dialog', 'head-img']" :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" v-for="(item, index) in dialogMessage.length > 9? dialogMessage.slice(0,9): dialogMessage" :key="index"
:key="user.id"
> >
<img src="@/assets/images/user.png" alt="" /> <img src="@/assets/images/user.png" alt="" />
</div> </div>
...@@ -130,13 +129,7 @@ export default { ...@@ -130,13 +129,7 @@ export default {
console.log(res, '???') console.log(res, '???')
//打开刚创建的群聊 //打开刚创建的群聊
let chatId = this.insertParams.chatId let chatId = this.insertParams.chatId
let msg = { window.$wx.openExistedChatWithMsg({ chatId}).then(res => {
msgtype: 'link',
link: {
desc: this.welcome,
}
}
window.$wx.openExistedChatWithMsg({ chatId,msg }).then(res => {
console.log(this.addGroupParams.chatId, '55555') 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!