From e932e7d0aef401b46e7dd36af9a4534b4ddf8a97 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 14 Nov 2024 18:14:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=98=AF=E5=90=A6=E6=92=AD?= =?UTF-8?q?=E6=8A=A5=E8=AF=AD=E9=9F=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/alarm/commonAlarm.vue | 1 + src/layouts/MainLayout.vue | 14 +++++++++++++- src/pages/EmergencyResponseManage.vue | 2 +- src/stores/line-net-store.ts | 3 ++- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/components/alarm/commonAlarm.vue b/src/components/alarm/commonAlarm.vue index 93db671..397fb53 100644 --- a/src/components/alarm/commonAlarm.vue +++ b/src/components/alarm/commonAlarm.vue @@ -81,6 +81,7 @@ function playAlarmMusic(type: number, lineId: number) { i--; } } + if (!lineNetStore.handlePlayAble) return; if (lineNetStore.playAble && audio.value.paused) { const alarmType = (showAlertTypeData as never)[type + '']; let mapAlarmMusic = new Map(); diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 053f5d3..91c58df 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -15,7 +15,7 @@ 西安NCC调度辅助决策系统 -