mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-10 17:42:50 +08:00
fix bug
This commit is contained in:
@@ -189,6 +189,7 @@ async function loadDownladerSetting() {
|
||||
const result1: { [key: string]: any } = await api.get('system/setting/DOWNLOADER')
|
||||
if (result1.success)
|
||||
selectedDownloaders.value = result1.data?.value?.split(',')
|
||||
|
||||
const result2: { [key: string]: any } = await api.get('system/env')
|
||||
if (result2.success) {
|
||||
const {
|
||||
@@ -203,7 +204,7 @@ async function loadDownladerSetting() {
|
||||
TR_HOST,
|
||||
TR_USER,
|
||||
TR_PASSWORD,
|
||||
} = result.data
|
||||
} = result2.data
|
||||
downloaderSettings.value = {
|
||||
DOWNLOADER_MONITOR,
|
||||
TORRENT_TAG,
|
||||
|
||||
Reference in New Issue
Block a user