| | |
| | | document.addEventListener("visibilitychange", () => { |
| | | this.visibilitychange(); |
| | | }); |
| | | debugger |
| | | this.getSounds(); |
| | | |
| | | this.eventAudio.addEventListener("ended", () => { |
| | |
| | | getSounds() { |
| | | getSoundList().then(res => { |
| | | if (res.success) { |
| | | this.soundList = res.data.list |
| | | this.soundList = res.data; |
| | | } |
| | | }).catch( |
| | | e => console.log(e) |
| | |
| | | this.resolutionList = list |
| | | this.sensors = res.data.sensors |
| | | } |
| | | |
| | | this.$nextTick(() => { |
| | | this.initFormData() |
| | | this.initFormData(); |
| | | Object.assign(this.form, res.data) |
| | | |
| | | this.soundList.forEach(element => { |