pc-master #203

Merged
xiaomeng merged 2 commits from pc-master into portal 2024-12-17 02:26:02 +00:00
2 changed files with 12 additions and 1 deletions

View File

@ -906,6 +906,13 @@ export default {
}, 1000); }, 1000);
}, },
beforeDestroy() { beforeDestroy() {
//
if (this.player) {
// this.player.dispose();
this.player.stop()
this.player.destroy()
this.player = null
}
clearInterval(this.timer_) && this.timer_; clearInterval(this.timer_) && this.timer_;
}, },
methods: { methods: {

View File

@ -1527,7 +1527,11 @@ export default {
//1234 //1234
var statusData = { name: el.nickName, type: 16, id: el.id, open: res.data.data[(1196 + ((el.id - 34) * 3))], progress: res.data.data[(1198 + ((el.id - 34) * 3))], index: res.data.data[(1197 + ((el.id - 34) * 3))], count: 0 } var statusData = { name: el.nickName, type: 16, id: el.id, open: res.data.data[(1196 + ((el.id - 34) * 3))], progress: res.data.data[(1198 + ((el.id - 34) * 3))], index: res.data.data[(1197 + ((el.id - 34) * 3))], count: 0 }
statusList.push(statusData) statusList.push(statusData)
} } else if (el.id ==38) {
//
var statusData = { name: el.nickName, type:11, id: el.id, open: res.data.data['1160'], progress: 0, index: res.data.data['1161'], count: res.data.data['1162'] }
statusList.push(statusData)
}
}) })