From 93a7d853dc3f812e169786a76188043f508ecd8c Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Wed, 12 Feb 2025 11:06:53 +0800 Subject: [PATCH] =?UTF-8?q?refactor(liveRoom):=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=86=97=E4=BD=99=E4=BB=A3=E7=A0=81=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了 catch 块中的冗余空分号 -调整了错误处理逻辑,使代码结构更清晰 --- app/pages/liveRoom/index.client.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pages/liveRoom/index.client.vue b/app/pages/liveRoom/index.client.vue index 2dfff03..24ee233 100644 --- a/app/pages/liveRoom/index.client.vue +++ b/app/pages/liveRoom/index.client.vue @@ -55,7 +55,7 @@ const initializePlayer = async () => { // on close }) .catch(() => { // on cancel - });; + }) console.error('播放器初始化失败:', error) } }