From f3ae97f7f8eff591ac6fcb83d4def5cb83c49cc4 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Sat, 6 May 2023 17:26:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=85=E9=9A=9C=E6=8F=90=E7=A4=BANCC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/display/errrorMessageBox.vue | 18 +++++++++++++++--- src/views/newMap/display/index.vue | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/views/newMap/display/errrorMessageBox.vue b/src/views/newMap/display/errrorMessageBox.vue index cb9cc5982..fd2ad6987 100644 --- a/src/views/newMap/display/errrorMessageBox.vue +++ b/src/views/newMap/display/errrorMessageBox.vue @@ -206,7 +206,9 @@ export default { if (index !== undefined) { this.alarmDetailMessageList.splice(0, index + 1); } - this.showAlarmPlayAlarmMusic(); + if (newValue[0].handleMethod === 'NCC' && this.$store.getters['map/getDeviceByCode'](this.alarmDetailMessageList[0].deviceCode) !== undefined) { + this.showAlarmPlayAlarmMusic(); + } } } }, @@ -292,7 +294,17 @@ export default { } }; - +