From 1374fbd45077fc513a24ebcd4bef02941190db9a Mon Sep 17 00:00:00 2001 From: njzy Date: Wed, 9 Dec 2020 21:22:56 +0800 Subject: [PATCH] fix: play unblock song error when disable cache (#81) --- src/store/actions.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/store/actions.js b/src/store/actions.js index 4200e0c..0de9355 100644 --- a/src/store/actions.js +++ b/src/store/actions.js @@ -103,7 +103,11 @@ export default { } }); } else { - getMP3(track.id); + if (unblockSongUrl) { + commitMP3(unblockSongUrl); + } else { + getMP3(track.id); + } } } else { commitMP3(