mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-26 17:27:23 +08:00
🌈 style: 优化类型
This commit is contained in:
@@ -16,7 +16,7 @@ export const useMusicHistory = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const delMusic = (music: any) => {
|
||||
const delMusic = (music: SongResult) => {
|
||||
const index = musicHistory.value.findIndex((item) => item.id === music.id);
|
||||
if (index !== -1) {
|
||||
musicHistory.value.splice(index, 1);
|
||||
|
||||
Reference in New Issue
Block a user