Commit ddedb36e by zhouzy

4

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