fix: 修复实时客服聊天判断逻辑
This commit is contained in:
parent
10f358c40b
commit
a0ea24f8f9
|
|
@ -663,11 +663,11 @@ export default {
|
|||
});
|
||||
},
|
||||
isLiveAgentChat() {
|
||||
if (!this.vuex_isTransferChat) return false;
|
||||
const current = this.currentDMid || "";
|
||||
const active =
|
||||
this.vuex_msgUser && this.vuex_msgUser.dialogueManagementId;
|
||||
return !!(current && active && String(active) === String(current));
|
||||
return !!(
|
||||
this.vuex_isTransferChat &&
|
||||
this.vuex_msgUser?.dialogueManagementId &&
|
||||
this.vuex_msgUser?.receiverId
|
||||
);
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue