From 96681523c5bc39840abf9d73cd585044568d5aad Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 14 七月 2025 11:43:04 +0800
Subject: [PATCH] 测试完成

---
 src/components/CallButton/index.vue |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/components/CallButton/index.vue b/src/components/CallButton/index.vue
index 42a98b7..51a4995 100644
--- a/src/components/CallButton/index.vue
+++ b/src/components/CallButton/index.vue
@@ -35,23 +35,29 @@
 export default {
   data() {
     return {
-      phoneNumber: "",
+      // phoneNumber: "",
       isCalling: false,
       callStatus: "鍑嗗灏辩华",
       sipStatus: "鏈繛鎺�",
       sipStatusClass: "status-disconnected",
       sipConfig: {
-        wsUrl: "wss://192.168.100.6:7443",
-        sipUri: "1000@192.168.100.6",
+        wsUrl: "wss://9.208.5.18:7443",
+        sipUri: "1000@9.208.5.18",
         password: "Smartor@2023",
         displayName: "Web 灏忛緳",
-        // realm: "192.168.100.6:8090",
+        // realm: "9.208.5.18:8090",
       },
     };
   },
+  props: {
+    phoneNumber: {
+      type: String,
+      default: ''
+    }
+  },
   mounted() {
     // 娴嬭瘯
-    const ws = new WebSocket("wss://192.168.100.6:7443");
+    const ws = new WebSocket("wss://9.208.5.18:7443");
     ws.onopen = () => console.log("WebSocket 杩炴帴鎴愬姛");
     ws.onerror = (e) => console.error("WebSocket 閿欒:", e);
 

--
Gitblit v1.9.3