🐛fix: 修复播放列表中歌曲删除时类型不匹配的问题,确保正确移除歌曲

This commit is contained in:
alger
2025-03-31 23:07:31 +08:00
parent 374a7a837d
commit 8d6d0527db

View File

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