This commit is contained in:
liqi 2025-04-04 19:57:33 +08:00
parent 633128ba94
commit 96e19f563b
1 changed files with 8 additions and 1 deletions

View File

@ -100,7 +100,8 @@ export default {
isContracted: false,
homeView: {},
droneTimers: new Map(),
iswarning: false
iswarning: false,
showAudioPrompt: false
};
},
mounted() {},
@ -144,6 +145,9 @@ export default {
}
}
});
if (newVal.length === 0) {
this.iswarning = false;
}
if (this.drones) {
mapUavFiex(this.drones);
@ -216,6 +220,9 @@ export default {
clearInterval(this.droneTimers.get(item.BatchId));
this.droneTimers.delete(item.BatchId);
this.handleTimerExpiration(item);
this.iswarning = false;
const media = this.$refs.uavAudio;
media.muted = true; //
}
}, 1000);
},