diff --git a/src/components/Play.vue b/src/components/Play.vue index 50eb66d..d05256a 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -1201,7 +1201,7 @@ export default { } }) win.on('restore', () => { - if (this.xg && this.config.src) { + if (this.xg && this.xg.hasStart) { this.xg.play() } })