mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-24 16:27:23 +08:00
🐞 fix: 修复搜索的播放列表错误问题
This commit is contained in:
@@ -139,7 +139,7 @@ watch(
|
||||
const store = useStore()
|
||||
|
||||
const handlePlay = (item: any) => {
|
||||
const tracks = searchDetail.value?.result.songs || []
|
||||
const tracks = searchDetail.value?.songs || []
|
||||
const musicIndex = (tracks.findIndex((music: any) => music.id == item.id) || 0)
|
||||
store.commit('setPlayList', tracks)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user