From 08881d6b6412822d5035f63a0775ca1f213c8668 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 10:17:22 +0800
Subject: [PATCH] 测试完成
---
src/views/shortmessage/communication/index.vue | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/views/shortmessage/communication/index.vue b/src/views/shortmessage/communication/index.vue
index afcbac4..14407b5 100644
--- a/src/views/shortmessage/communication/index.vue
+++ b/src/views/shortmessage/communication/index.vue
@@ -439,7 +439,7 @@
// 鐐瑰嚮娑堟伅瑙﹀彂
handleMessageClick(e, key, message, instance) {
console.log("鐐瑰嚮浜嗘秷鎭�", e, key, message);
-
+ console.log(key);
if (key == "status") {
instance.updateMessage({
id: message.id,
@@ -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