From be7553eaa2f1340dda478a44c5e0fb14446601a7 Mon Sep 17 00:00:00 2001 From: xiaozhu188 <809057480@qq.com> Date: Thu, 11 Jun 2020 21:33:54 +0800 Subject: [PATCH] fix:can't show all songs of current playlist --- src/renderer/api/song.js | 4 +- src/renderer/views/Playlist/_id.vue | 153 +++++++++++++++------------- 2 files changed, 82 insertions(+), 75 deletions(-) diff --git a/src/renderer/api/song.js b/src/renderer/api/song.js index c58fd0f..5946f12 100644 --- a/src/renderer/api/song.js +++ b/src/renderer/api/song.js @@ -9,10 +9,10 @@ export function getSongUrl (id) { } // 歌曲详情 -export function getSongDetail (id) { +export function getSongDetail (ids) { return request.get('/song/detail', { params: { - id + ids } }) } diff --git a/src/renderer/views/Playlist/_id.vue b/src/renderer/views/Playlist/_id.vue index a36af91..0e74d54 100644 --- a/src/renderer/views/Playlist/_id.vue +++ b/src/renderer/views/Playlist/_id.vue @@ -9,8 +9,9 @@