diff --git a/src/views/dashboard/MediaServerPlaying.vue b/src/views/dashboard/MediaServerPlaying.vue index f15550d2..783f6b4a 100644 --- a/src/views/dashboard/MediaServerPlaying.vue +++ b/src/views/dashboard/MediaServerPlaying.vue @@ -27,7 +27,9 @@ async function loadPlayingList(server: string) { // 不存在时添加 for (const item of result) { const index = playingList.value.findIndex(i => i.id === item.id) - if (index === -1) playingList.value = playingList.value.concat(result) + if (index === -1) { + playingList.value.push(item) + } } } } catch (e) {