微调
This commit is contained in:
parent
82359d5a4c
commit
9cde1a5487
@ -206,8 +206,10 @@ export default {
|
|||||||
} else if (newAlarmMessage.color == 'O') {
|
} else if (newAlarmMessage.color == 'O') {
|
||||||
this.oldShowAlarmMessage = newAlarmMessage;
|
this.oldShowAlarmMessage = newAlarmMessage;
|
||||||
this.showAlarmImportantMessage = newAlarmMessage;
|
this.showAlarmImportantMessage = newAlarmMessage;
|
||||||
} else {
|
} else if (newAlarmMessage.color == 'Y' && this.oldShowAlarmMessage.color == 'O') {
|
||||||
this.showAlarmImportantMessage = this.oldShowAlarmMessage;
|
this.showAlarmImportantMessage = this.oldShowAlarmMessage;
|
||||||
|
} else {
|
||||||
|
this.showAlarmImportantMessage = newAlarmMessage;
|
||||||
}
|
}
|
||||||
this.alarmDetailMessageListShow = this.alarmDetailMessageList.slice(0, 2);
|
this.alarmDetailMessageListShow = this.alarmDetailMessageList.slice(0, 2);
|
||||||
this.pagination.total = this.alarmDetailMessageList.length;
|
this.pagination.total = this.alarmDetailMessageList.length;
|
||||||
|
Loading…
Reference in New Issue
Block a user