mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-09 10:50:50 +08:00
🐛fix: 修复播放列表中歌曲删除时类型不匹配的问题,确保正确移除歌曲
This commit is contained in:
@@ -521,7 +521,7 @@ const handleDeleteSong = (song: SongResult) => {
|
||||
if (song.id === playMusic.value.id) {
|
||||
playerStore.nextPlay();
|
||||
}
|
||||
playerStore.removeFromPlayList(song.id);
|
||||
playerStore.removeFromPlayList(song.id as number);
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user