From 47c8a1f9f3bb682bae8900fad45ab586942acfa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sun, 27 Jan 2019 17:27:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=B7=E4=BD=A0=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E7=8A=B6=E6=80=81=E5=90=8C=E6=AD=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/mini-win.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }) },