realtime.createIMClient(user.mobile + "_" + user.store_id).then(function(me) {
that.$root.imClient = me
eventBus.$emit("imclient_ok")
me.on(Event.MESSAGE, function(message, conversation) {
eventBus.$emit("receive_im_msg", message, conversation)
console.log('Message received: ' + message.text);
}).catch(console.error);
}).catch(console.error);
报错为:TypeError: me.on(...).catch is not a function
at eval (App.vue?33dd:19)
集成的写法按照文档