From d5b817b30aefdfd6a52562a0ce6a1dffcca75dd3 Mon Sep 17 00:00:00 2001 From: tony Date: Mon, 6 Aug 2018 17:38:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=82=B9=E6=92=ADbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DataStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataStore.js b/src/DataStore.js index 605eb9c..073d36b 100644 --- a/src/DataStore.js +++ b/src/DataStore.js @@ -397,7 +397,7 @@ class DataPageStore { findInPlayList(hash) { let tempList = this.playSongList; - tempList.findIndex((item, index, arr) => { + return tempList.findIndex((item, index, arr) => { return hash === item.Hash; }) }