mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-24 09:49:42 +08:00
refactor: Update MediaServerLibrary.vue to load media server library with hidden parameter
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user