From 7aa55ce4b2c5f5ae324f145bdf1766cdb376210a Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 29 十月 2024 14:08:53 +0800
Subject: [PATCH] 完成个人信息头像更换
---
src/views/meet/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/meet/index.vue b/src/views/meet/index.vue
index 5f0af13..d05163a 100644
--- a/src/views/meet/index.vue
+++ b/src/views/meet/index.vue
@@ -102,7 +102,7 @@
this.sendMessage(JSON.stringify(command))
},
initWebSocket () {
- this.ws = new WebSocket('wss://www.kgmeet.com:18080/websocket/' + JSON.parse(Cookies.get('adminUserInfo')).id)
+ this.ws = new WebSocket('wss://ycl.easyblog.vip:81/websocket/' + JSON.parse(Cookies.get('adminUserInfo')).id)
let ws = this.ws
ws.onopen = () => {
console.log('WebSocket 杩炴帴鎴愬姛')
@@ -278,13 +278,15 @@
this.jitsiApi.addListener('readyToClose', () => {
window.close()
})
+ // 鍒濆鍖�
+ this.initWebSocket()
// 姣忎笁绉掓洿瀛﹀憳鍦ㄧ嚎鐘舵��
this.intervalId = setInterval(() => {
this.getRoomInfo()
+ // 鍙戦�佸績璺虫暟鎹�
+ this.ws.send('ping')
}, 2500)
- // 鍒濆鍖�
- this.initWebSocket()
},
beforeDestroy () {
// 娓呴櫎瀹氭椂鍣紝閬垮厤鍐呭瓨娉勬紡
--
Gitblit v1.8.0