diff --git a/publish/changeLog.md b/publish/changeLog.md index 442be6562..c923ca01e 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,4 +1,4 @@ ### 修复 - 修复手机分享的wy歌单、某些tx、kg歌单无法打开的问题 - +- 修复打开空的歌单时,点击播放全部会导致应用崩溃的问题 diff --git a/src/screens/Home/SongList/ListDetail/ButtonBar.js b/src/screens/Home/SongList/ListDetail/ButtonBar.js index 5da13e091..5965758c8 100644 --- a/src/screens/Home/SongList/ListDetail/ButtonBar.js +++ b/src/screens/Home/SongList/ListDetail/ButtonBar.js @@ -20,6 +20,7 @@ export default memo(() => { const handlePlayAll = useCallback(async() => { if (!listDetailData.info.name) return const list = await getListDetailAll(selectListInfo.id) + if (!list.length) return setPlayList({ list: { list,