修改PA系统语音播放bug
This commit is contained in:
parent
63d02669dc
commit
80b509464a
@ -353,7 +353,7 @@ export default {
|
||||
if (device) {
|
||||
this.$set(this.deviceMap[device.position], 'state', item.state);
|
||||
const div = document.getElementById(device.position);
|
||||
if (this.$route.query.stationId === item.stationCode && !['0', '12', '13'].includes(item.state) && this.atcBroadcast.includes(item.position)) {
|
||||
if (this.$route.query.stationId === item.stationCode && !['0', '12', '13'].includes(item.state) && this.atcBroadcast.includes(device.position)) {
|
||||
const audio = document.getElementById('voice');
|
||||
audio.src = this.$store.state.user.resourcesUrl + item.url;
|
||||
audio.play();
|
||||
|
Loading…
Reference in New Issue
Block a user