Merge pull request #242 from wikrin/v2

This commit is contained in:
jxxghp
2024-11-21 14:00:17 +08:00
committed by GitHub
3 changed files with 5 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ export interface Subscribe {
// 过滤规则组
filter_groups?: string[]
// 下载器
downloader?: string
downloader: string
}
// 订阅分享
@@ -390,7 +390,7 @@ export interface Site {
// RSS地址
rss?: string
// 下载器
downloader?: string
downloader: string
// Cookie
cookie?: string
// ApiKey

View File

@@ -35,6 +35,7 @@ const siteForm = ref<Site>({
limit_seconds: 0,
name: '',
domain: '',
downloader: '',
})
// 提示框
@@ -67,7 +68,7 @@ async function loadDownloaderSetting() {
try {
const downloaders: DownloaderConf[] = await api.get('download/clients')
downloaderOptions.value = [
{ title: '默认', value: null },
{ title: '默认', value: '' },
...downloaders.map((item: { name: any }) => ({
title: item.name,
value: item.name,

View File

@@ -417,7 +417,7 @@ onMounted(() => {
v-model="subscribeForm.downloader"
:items="downloaderOptions"
label="下载器"
hint="指定该订阅使用的下载器,留空自动使用默认下载器"
hint="指定该订阅使用的下载器"
persistent-hint
/>
</VCol>