From 73df7f28f470d1eefd7de02e9a6e8d3f7e686217 Mon Sep 17 00:00:00 2001 From: memorydream <34763046+memorydream@users.noreply.github.com> Date: Sun, 9 Jan 2022 18:34:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BD=93=E5=8F=AA=E6=9C=89=E4=B8=80?= =?UTF-8?q?=E5=8F=A5=E6=AD=8C=E8=AF=8D=E4=B8=94=E5=86=85=E5=AE=B9=E4=B8=BA?= =?UTF-8?q?'=E7=BA=AF=E9=9F=B3=E4=B9=90=EF=BC=8C=E8=AF=B7=E6=AC=A3?= =?UTF-8?q?=E8=B5=8F'=E6=97=B6=EF=BC=8C=E9=9A=90=E8=97=8F=E6=AD=8C?= =?UTF-8?q?=E8=AF=8D=E9=9D=A2=E6=9D=BF=20(#1205)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lyrics.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/lyrics.vue b/src/views/lyrics.vue index a76718e..d299408 100644 --- a/src/views/lyrics.vue +++ b/src/views/lyrics.vue @@ -327,9 +327,15 @@ export default { return false; } else { let { lyric, tlyric } = lyricParser(data); - this.lyric = lyric; - this.tlyric = tlyric; - return true; + if (lyric.length === 1 && lyric[0].content === '纯音乐,请欣赏') { + this.lyric = []; + this.tlyric = []; + return false; + } else { + this.lyric = lyric; + this.tlyric = tlyric; + return true; + } } }); },