清除播放窗口还原时hasStart变量

This commit is contained in:
buvta
2020-12-13 22:11:44 +08:00
parent e66c056283
commit f041093fe9

View File

@@ -1443,9 +1443,7 @@ export default {
}
})
win.on('restore', () => {
// 不知为何,在if clause里直接使用this.xg.hasStart居然就不工作,不得其解。
var hasStart = this.xg.hasStart
if (this.xg && hasStart) {
if (this.xg && this.xg.hasStart) {
this.xg.play()
}
})