Compare commits

...

3 Commits

Author SHA1 Message Date
xiaomeng eaa5d94202 Merge pull request 'pc-master' (#203) from pc-master into portal
Reviewed-on: #203
2024-12-17 02:26:01 +00:00
sunmeng a916f50414 1 2024-12-17 09:39:38 +08:00
sunmeng a8399260ef 1 2024-12-17 08:48:38 +08: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,6 +1527,10 @@ 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)
} }
}) })