From df084de9f9b376b58962086b5b3da957f199bc70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E4=B8=87=E4=BF=8A?= Date: Wed, 27 Aug 2025 18:02:55 +0800 Subject: [PATCH] =?UTF-8?q?fix/=E5=A2=9E=E5=8A=A0=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/view/LargeScreen/cockpit.vue | 2 +- src/view/components/speechControl.vue | 272 +++++++++++++++----------- 3 files changed, 157 insertions(+), 119 deletions(-) diff --git a/src/App.vue b/src/App.vue index 86afa4d..47cf043 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,7 +19,7 @@ const showSpeechControl = ref(true); // 监听路由变化,切换页面时隐藏语音控制组件 router.afterEach((to) => { if (to.path === "/LargeScreen") { - showSpeechControl.value = false; + showSpeechControl.value = true; } else { showSpeechControl.value = true; } diff --git a/src/view/LargeScreen/cockpit.vue b/src/view/LargeScreen/cockpit.vue index 072e946..5f35e3b 100644 --- a/src/view/LargeScreen/cockpit.vue +++ b/src/view/LargeScreen/cockpit.vue @@ -3,7 +3,7 @@ - + diff --git a/src/view/components/speechControl.vue b/src/view/components/speechControl.vue index 8bd853e..b5b709d 100644 --- a/src/view/components/speechControl.vue +++ b/src/view/components/speechControl.vue @@ -59,7 +59,7 @@