This commit is contained in:
joylink_fanyuhong 2024-03-12 09:18:34 +08:00
parent 991121f9d8
commit b57ea909b4
2 changed files with 7 additions and 8 deletions

View File

@ -490,13 +490,13 @@ export default {
audio.pause();
audio.src = this.$store.state.user.ossUrl + info.url;
audio.play();
const _that = this;
audio.addEventListener('ended', function() {
const device = _that.iscsDeviceMap[info.code];
const div = document.getElementById(device.position);
_that.$set(_that.deviceMap[device.position], 'state', '0');
div.style.background = '#CCCCCC';
}, false);
// const _that = this;
// audio.addEventListener('ended', function() {
// const device = _that.iscsDeviceMap[info.code];
// const div = document.getElementById(device.position);
// _that.$set(_that.deviceMap[device.position], 'state', '0');
// div.style.background = '#CCCCCC';
// }, false);
}
},
setTimerBroadcast() {

View File

@ -52,7 +52,6 @@ export default {
}
});
this.selectStation = this.$store.state.training.roleDeviceCode;
console.log(this.selectStation, '====');
}
this.$store.dispatch('app/animationsClose');
},