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 { } }; - +