Commit 1b8fdae4 authored by yaya's avatar yaya

feat: 优化

parent 1f308fab
......@@ -292,7 +292,10 @@ export default {
chat.off(TencentCloudChat.EVENT.MESSAGE_RECEIVED, this.onMessageReceived)
const chatItem = this.customerList[this.currentCustomerIndex]
this.handleGetUserSign(chatItem.code)
}).catch(function(imError) {
}).catch((imError) => {
this.$notify.error({
title: '切换失败'
})
this.closeLoading()
console.warn('====登出失败:', imError) // 登录失败的相关信息
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment