修复无法批量稍后播放的问题
parent
dff18b6b9d
commit
3282557769
|
@ -30,7 +30,7 @@ export default ({ selectedList, props, removeAllSelect }) => {
|
|||
}
|
||||
|
||||
const handlePlayMusicLater = (index, single) => {
|
||||
if (selectedList.length && !single) {
|
||||
if (selectedList.value.length && !single) {
|
||||
setTempPlayList(selectedList.value.map(s => ({ listId: '__temp__', musicInfo: s })))
|
||||
removeAllSelect()
|
||||
} else {
|
||||
|
|
|
@ -15,7 +15,7 @@ export default ({ props, selectedList, list, removeAllSelect }) => {
|
|||
}
|
||||
|
||||
const handlePlayMusicLater = (index, single) => {
|
||||
if (selectedList.length && !single) {
|
||||
if (selectedList.value.length && !single) {
|
||||
setTempPlayList(selectedList.value.map(s => ({ listId: props.listId, musicInfo: s })))
|
||||
removeAllSelect()
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue