mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 08:06:43 +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查询
|
// 调用API查询
|
||||||
async function loadLibrary(server: string) {
|
async function loadLibrary(server: string) {
|
||||||
try {
|
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) {
|
if (result && result.length > 0) {
|
||||||
libraryList.value = libraryList.value.concat(result)
|
libraryList.value = libraryList.value.concat(result)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user