mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 10:00:08 +08:00
fix(SubscribeEditDialog): 下载器字段更新默认值
This commit is contained in:
@@ -50,6 +50,7 @@ const subscribeForm = ref<Subscribe>({
|
||||
sites: [],
|
||||
best_version: undefined,
|
||||
current_priority: 0,
|
||||
downloader: '',
|
||||
date: '',
|
||||
show_edit_dialog: false,
|
||||
})
|
||||
@@ -65,7 +66,7 @@ async function loadDownloaderSetting() {
|
||||
const result: { [key: string]: any } = await api.get('system/setting/Downloaders')
|
||||
const downloaders = result.data?.value ?? []
|
||||
downloaderOptions.value = [
|
||||
{ title: '默认', value: null },
|
||||
{ title: '默认', value: '' },
|
||||
...downloaders.map((item: { name: any }) => ({
|
||||
title: item.name,
|
||||
value: item.name,
|
||||
|
||||
Reference in New Issue
Block a user