From a0ea24f8f91b0ed221ec8da13c656c33233d0f1d Mon Sep 17 00:00:00 2001 From: yangzhe Date: Thu, 19 Mar 2026 15:41:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=9E=E6=97=B6?= =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E8=81=8A=E5=A4=A9=E5=88=A4=E6=96=AD=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/index/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/home/index/index.vue b/pages/home/index/index.vue index 39fc0e9..4054a1b 100644 --- a/pages/home/index/index.vue +++ b/pages/home/index/index.vue @@ -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 + ); }, },