Skip to content

Commit

Permalink
refactor: Update MediaServerLibrary.vue to load media server library …
Browse files Browse the repository at this point in the history
…with hidden parameter
  • Loading branch information
jxxghp committed Sep 12, 2024
1 parent 09210f9 commit 04e1b52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/dashboard/MediaServerLibrary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ async function loadMediaServerSetting() {
// 调用API查询
async function loadLibrary(server: string) {
try {
const result: MediaServerLibrary[] = await api.get('mediaserver/library', { params: { server } })
const result: MediaServerLibrary[] = await api.get('mediaserver/library', {
params: { server: server, hidden: true },
})
if (result && result.length > 0) {
libraryList.value = libraryList.value.concat(result)
}
Expand Down

0 comments on commit 04e1b52

Please sign in to comment.