diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 03edd6a..e9c8913 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 ? '关闭语音报警' : '开启语音报警' + }} + +