Commit e0259c65 by zhouzy

1

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