Commit ddedb36e by zhouzy

4

1 parent 6e010eee
...@@ -38,8 +38,8 @@ Vue.prototype.to = function(name, params) { ...@@ -38,8 +38,8 @@ Vue.prototype.to = function(name, params) {
Vue.config.productionTip = false Vue.config.productionTip = false
// import VConsole from 'vconsole' import VConsole from 'vconsole'
// const vConsole = new VConsole() const vConsole = new VConsole()
const isMock = true const isMock = true
fetchConfig(!isMock).then(res => { fetchConfig(!isMock).then(res => {
......
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
// }, // },
dialogMessage: [], dialogMessage: [],
addGroupParams: { addGroupParams: {
externalUserIds: [], externalUserId: [],
groupName: '', groupName: '',
userIds: [], userIds: [],
chatId: '' chatId: ''
...@@ -207,8 +207,8 @@ export default { ...@@ -207,8 +207,8 @@ export default {
addGroup() { addGroup() {
let params = this.addGroupParams let params = this.addGroupParams
window.$wx.openEnterpriseChat(params).then(res => { window.$wx.openEnterpriseChat(params).then(res => {
let chatId = res.chatId groupChat.addChat(this.addGroupParams).then(res => {
groupChat.addChat().then(() =>{ console.log(res)
}) })
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!