This commit is contained in:
jxxghp
2024-03-09 20:53:37 +08:00
parent 2ad36f92c5
commit 13d7344bc0
+2 -1
View File
@@ -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,