deep clone playlist for saving
This commit is contained in:
parent
55bd39a52f
commit
3886a6187e
@ -449,7 +449,7 @@ async function savePlaylist(save: boolean) {
|
||||
return
|
||||
}
|
||||
|
||||
playlistStore.playlist = processPlaylist(listDate.value, playlistStore.playlist, true)
|
||||
playlistStore.playlist = processPlaylist(listDate.value, $_.cloneDeep(playlistStore.playlist), true)
|
||||
const saveList = playlistStore.playlist.map(({ begin, ...item }) => item)
|
||||
|
||||
await $fetch(`/api/playlist/${configStore.configGui[configStore.configID].id}/`, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user