mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-05-23 22:37:41 +08:00
修复“点击列表里的歌曲时自动切换到当前列表播放”设置导致的崩溃问题
This commit is contained in:
parent
e214105cfe
commit
d344dbe2e4
@ -128,8 +128,8 @@ export default memo(({
|
|||||||
if (isMultiSelectModeRef.current) {
|
if (isMultiSelectModeRef.current) {
|
||||||
handleSelect(item, index)
|
handleSelect(item, index)
|
||||||
} else {
|
} else {
|
||||||
if (isClickPlayList) {
|
if (isClickPlayList && typeof onPlayList == 'function') {
|
||||||
onPlayList(index)
|
onPlayList(index, item)
|
||||||
} else {
|
} else {
|
||||||
handlePlay(item, index)
|
handlePlay(item, index)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user