From 9799e992bc987425f21ad0b799e3d25d822329e3 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 13 十一月 2026 16:41:37 +0800
Subject: [PATCH] 登录问题处理
---
src/components/CallCenterLs/index.vue | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/components/CallCenterLs/index.vue b/src/components/CallCenterLs/index.vue
index 1ffc805..f5fb0fb 100644
--- a/src/components/CallCenterLs/index.vue
+++ b/src/components/CallCenterLs/index.vue
@@ -267,9 +267,14 @@
},
onCallStatusChange(status) {
+ const wasConnected = this.callStatus === "connected";
this.callStatus = status.status;
if (status.status == "connected") {
this.startCallTimer();
+ // 浠呭湪浠庨潪鎺ラ�氱姸鎬佸垏鎹㈠埌鎺ラ�氭椂閫氱煡鐖剁粍浠讹紙閬垮厤閲嶅璁℃暟锛�
+ if (!wasConnected) {
+ this.$emit("call-connected");
+ }
} else if (status.status == "idle") {
this.stopCallTimer();
}
--
Gitblit v1.9.3