报警调整

This commit is contained in:
joylink_zhaoerwei 2023-10-27 14:43:20 +08:00
parent 37fa4b17e4
commit a534e941ee

View File

@ -42,6 +42,12 @@ watch(
);
function playAlarmMusic(type: number) {
for (let i = 0; i < dialogInstance.length; i++) {
if (dialogInstance[i].show == false) {
dialogInstance.splice(i, 1);
i--;
}
}
if (lineNetStore.playAble && audio.value.paused) {
const alarmType = (showAlertTypeData as never)[type + ''];
const mapAlarmMusic = new Map([