This commit is contained in:
parent
633128ba94
commit
96e19f563b
|
|
@ -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);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue