diff --git a/src/js/mini-win.js b/src/js/mini-win.js index 5adabec..4d0fc8d 100644 --- a/src/js/mini-win.js +++ b/src/js/mini-win.js @@ -35,9 +35,7 @@ Anot({ mounted() { WIN.on('mini-init', song => { this.curr = song - if (song.id) { - this.isPlaying = true - } + this.isPlaying = !!song.id this.playMode = Anot.ls('play-mode') >>> 0 }) },