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