From 1e904e5ebb401892ab55dbcaf83bc5b5c69db301 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sat, 9 Jan 2021 19:40:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=87=AA=E5=8A=A8=E6=8D=A2?= =?UTF-8?q?=E6=BA=90=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/components/core/Player.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/core/Player.vue b/src/renderer/components/core/Player.vue index 7e08d9f7..7a57a807 100644 --- a/src/renderer/components/core/Player.vue +++ b/src/renderer/components/core/Player.vue @@ -712,7 +712,7 @@ export default { this.status = this.statusText = 'Try toggle source...' - return (originMusic.otherSource ? Promise.resolve(originMusic.otherSource) : musicSdk.findMusic(originMusic)).then(res => { + return (originMusic.otherSource && originMusic.otherSource.length ? Promise.resolve(originMusic.otherSource) : musicSdk.findMusic(originMusic)).then(res => { this.updateMusicInfo({ id: this.listId, index: this.playIndex, data: { otherSource: res } }) return res }).then(otherSource => {