From bc9538a9e071259ca8bbb6de52c60c9d7a55a03b Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 23 九月 2026 14:02:44 +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