修复无法批量稍后播放的问题

pull/733/head
lyswhut 2021-12-10 08:37:26 +08:00
parent dff18b6b9d
commit 3282557769
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {