From 717f0d3e943d44c317fe7e530140b9713a2c69c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Mon, 2 Oct 2023 22:09:54 +0800 Subject: [PATCH] =?UTF-8?q?DEBUG:=20=E4=BF=AE=E6=AD=A3=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=97=B6=E6=92=AD=E6=94=BE=E7=8A=B6=E6=80=81=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/music.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/music.js b/public/music.js index f6b45b5..3636c25 100644 --- a/public/music.js +++ b/public/music.js @@ -122,7 +122,7 @@ export default class MusicList { } async remove(item) { this.ul.querySelector(`#${item.id}`)?.remove() - if (this.audio.paused) this.stop() // 停止播放 + if (!this.audio.paused) this.stop() // 停止播放 this.event.onremove(item) } async load(item) {