From c514486354ea86e368a87ecf2e2720969704fd9e Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Wed, 20 Nov 2024 09:49:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=AF=AD=E9=9F=B3=E6=8A=A5=E8=AD=A6btn?= =?UTF-8?q?=E5=8A=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/MainLayout.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 0554807..54ba252 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -65,7 +65,13 @@ :color="lineNetStore.handlePlayAble ? 'white' : 'red'" :icon="lineNetStore.handlePlayAble ? 'alarm_on' : 'alarm_off'" @click="changeCanPlayAlarmMusic" - /> + > + + {{ + lineNetStore.handlePlayAble ? '关闭语音报警' : '开启语音报警' + }} + Date: Wed, 20 Nov 2024 09:53:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/MainLayout.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 54ba252..e34aa13 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -70,8 +70,8 @@ {{ lineNetStore.handlePlayAble ? '关闭语音报警' : '开启语音报警' }} - + +