From 0d49c60c12cd83ca8b040133504b6540ee878cfa Mon Sep 17 00:00:00 2001 From: tongtongstudio Date: Mon, 3 Aug 2026 11:34:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(ControlBar):=20=E4=BF=AE=E5=A4=8D=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E4=BA=8B=E4=BB=B6=E7=9B=91=E5=90=AC=E8=8C=83=E5=9B=B4?= =?UTF-8?q?=EF=BC=8C=E6=94=B9=E4=B8=BA=E5=85=A8=E5=B1=80=E7=9B=91=E5=90=AC?= =?UTF-8?q?window?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将键盘事件从输入框的局部监听改为window全局监听,确保页面任意位置按下键盘即可向被控端发送指令。同时保留输入框聚焦逻辑,以兼容移动端软键盘输入场景。 --- .../src/components/ControlBar.vue | 31 ++++++++++++------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/WebRTCControllerWeb/src/components/ControlBar.vue b/WebRTCControllerWeb/src/components/ControlBar.vue index d9c814e..c63d42a 100644 --- a/WebRTCControllerWeb/src/components/ControlBar.vue +++ b/WebRTCControllerWeb/src/components/ControlBar.vue @@ -1,5 +1,5 @@