fix: 修复实时客服聊天判断逻辑

This commit is contained in:
yangzhe 2026-03-19 15:41:13 +08:00
parent 10f358c40b
commit a0ea24f8f9
1 changed files with 5 additions and 5 deletions

View File

@ -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)); );
}, },
}, },