mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 08:46:40 +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')
|
const result1: { [key: string]: any } = await api.get('system/setting/DOWNLOADER')
|
||||||
if (result1.success)
|
if (result1.success)
|
||||||
selectedDownloaders.value = result1.data?.value?.split(',')
|
selectedDownloaders.value = result1.data?.value?.split(',')
|
||||||
|
|
||||||
const result2: { [key: string]: any } = await api.get('system/env')
|
const result2: { [key: string]: any } = await api.get('system/env')
|
||||||
if (result2.success) {
|
if (result2.success) {
|
||||||
const {
|
const {
|
||||||
@@ -203,7 +204,7 @@ async function loadDownladerSetting() {
|
|||||||
TR_HOST,
|
TR_HOST,
|
||||||
TR_USER,
|
TR_USER,
|
||||||
TR_PASSWORD,
|
TR_PASSWORD,
|
||||||
} = result.data
|
} = result2.data
|
||||||
downloaderSettings.value = {
|
downloaderSettings.value = {
|
||||||
DOWNLOADER_MONITOR,
|
DOWNLOADER_MONITOR,
|
||||||
TORRENT_TAG,
|
TORRENT_TAG,
|
||||||
|
|||||||
Reference in New Issue
Block a user