From 6fac6bfd15129bdc275aedb6f0b5b90d40e0dcf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Tue, 6 Jan 2026 17:16:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../live/pull/components/live-content/live-content.vue | 4 ++-- pages/plugins/live/pull/mixins/mixins.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/plugins/live/pull/components/live-content/live-content.vue b/pages/plugins/live/pull/components/live-content/live-content.vue index 255f92d9..9b604dd8 100644 --- a/pages/plugins/live/pull/components/live-content/live-content.vue +++ b/pages/plugins/live/pull/components/live-content/live-content.vue @@ -545,12 +545,12 @@ setTimeout(() => { _this.is_socket_error = true; _this.socket_error_content = `第${_this.reconnect_count + 1}次连接失败`; - console.log(`第${_this.reconnect_count + 1}次连接失败`); + console.log(`聊天第${_this.reconnect_count + 1}次连接失败`); setTimeout(() => { // 增加重连计数 _this.reconnect_count++; _this.socket_connect(); - console.log(`第${_this.reconnect_count + 1}次连接`); + console.log(`聊天第${_this.reconnect_count + 1}次连接`); }, 1000); // 逐步增加重连间隔,最大10秒 }, 1000); // 逐步增加重连间隔,最大10秒 } else { diff --git a/pages/plugins/live/pull/mixins/mixins.js b/pages/plugins/live/pull/mixins/mixins.js index 6314eccd..06726330 100644 --- a/pages/plugins/live/pull/mixins/mixins.js +++ b/pages/plugins/live/pull/mixins/mixins.js @@ -211,7 +211,7 @@ export default { const _this = this; // 延迟3秒后尝试重新连接 this.ended_timer = setTimeout(() => { - console.log('视频重连次数' + _this.retry_count); + console.log('视频第' + _this.retry_count + '次连接'); // 在定时结束后尝试重新连接 if (_this.$refs.liveVideo) { _this.$refs.liveVideo.reload_video();