|
@@ -191,9 +191,13 @@ export default {
|
|
|
if (alarmIndex === -1 && arr[i].arithmetic.includes(arithmeticEnum.fire.val)) {
|
|
|
this.showFireAlarm.push(arr[i]);
|
|
|
// 显示
|
|
|
- this.fireAlarm(this.showFireAlarm.length - 1)
|
|
|
}
|
|
|
}
|
|
|
+ // 有识别到火情, 则统一进行弹窗
|
|
|
+ if(this.showFireAlarm.length){
|
|
|
+ this.fireAlarm(this.showFireAlarm.length - 1)
|
|
|
+ }
|
|
|
+
|
|
|
} else {
|
|
|
console.log("未知错误");
|
|
|
this.$message.error(res.data.msg);
|