From fecb2f5b3a5b4c7994eb76cc730c2bd27b6f8b67 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 22 四月 2025 09:34:17 +0800 Subject: [PATCH] 测试完成 --- src/views/shortmessage/communication/index.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/shortmessage/communication/index.vue b/src/views/shortmessage/communication/index.vue index 5cfb0ff..14407b5 100644 --- a/src/views/shortmessage/communication/index.vue +++ b/src/views/shortmessage/communication/index.vue @@ -660,7 +660,7 @@ }; // 鍙戣捣ws璇锋眰 sendWebsocket( - "ws://192.168.1.4:8080/chat?userId=2", + "ws://localhost:8089/chat?userId=1", obj, this.wsMessage, this.wsError @@ -702,9 +702,7 @@ }, // 鑾峰彇鑱旂郴浜轰俊鎭垨婊氬姩鍒伴《閮ㄨЕ鍙� handlePullMessages(contact, next, instance) { - console.log(contact, "鑾峰彇鑱旂郴浜轰俊鎭疉"); - console.log(instance, "鑾峰彇鑱旂郴浜轰俊鎭疊"); - console.log(next, "鑾峰彇鑱旂郴浜轰俊鎭疌"); + const otheruser = { id: contact.id, displayName: contact.displayName, -- Gitblit v1.9.3