diff --git a/src/components/alarm/commonAlarm.vue b/src/components/alarm/commonAlarm.vue index 33cdaaa..25e436d 100644 --- a/src/components/alarm/commonAlarm.vue +++ b/src/components/alarm/commonAlarm.vue @@ -39,7 +39,7 @@ const watchInteract = () => { watch( () => lineNetStore.alarmInfo, (val) => { - if (val.length && val[0].level == 'I') { + if (val.length) { playAlarmMusic(val[0].alert_type); alarm(); }