diff --git a/src/views/newMap/display/errrorMessageBox.vue b/src/views/newMap/display/errrorMessageBox.vue index 3dbe2bcaa..9fed82631 100644 --- a/src/views/newMap/display/errrorMessageBox.vue +++ b/src/views/newMap/display/errrorMessageBox.vue @@ -206,8 +206,10 @@ export default { } else if (newAlarmMessage.color == 'O') { this.oldShowAlarmMessage = newAlarmMessage; this.showAlarmImportantMessage = newAlarmMessage; - } else { + } else if (newAlarmMessage.color == 'Y' && this.oldShowAlarmMessage.color == 'O') { this.showAlarmImportantMessage = this.oldShowAlarmMessage; + } else { + this.showAlarmImportantMessage = newAlarmMessage; } this.alarmDetailMessageListShow = this.alarmDetailMessageList.slice(0, 2); this.pagination.total = this.alarmDetailMessageList.length;