报警跳转都报

This commit is contained in:
joylink_zhaoerwei 2023-09-14 17:31:34 +08:00
parent 50558f46c7
commit c7d0bbe9bc

View File

@ -39,7 +39,7 @@ const watchInteract = () => {
watch( watch(
() => lineNetStore.alarmInfo, () => lineNetStore.alarmInfo,
(val) => { (val) => {
if (val.length && val[0].level == 'I') { if (val.length) {
playAlarmMusic(val[0].alert_type); playAlarmMusic(val[0].alert_type);
alarm(); alarm();
} }