Commit e0259c65 by zhouzy

1

1 parent 0122cf70
......@@ -124,16 +124,16 @@ export default {
this.insertParams.externalUserId = this.userId
this.insertParams.templateId = this.templateId
// console.log(this.insertParams, '99999999')
//打开已有群聊
window.$wx.openExistedChatWithMsg({ chatId: res.chatId }).then(res => {
console.log(this.addGroupParams.chatId, '55555')
if (this.addGroupParams.chatId == '') {
//打开刚创建的群聊
if (this.addGroupParams.chatId == '') {
window.$wx.openExistedChatWithMsg({ chatId: res.chatId }).then(res => {
console.log(this.addGroupParams.chatId, '55555')
//保存新群
groupChat.addChat(this.insertParams).then(res => {
console.log(res, '???')
})
}
})
})
}
})
},
showDialog(item) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!