downloader属性不再为可选, 使组件具有初始值

This commit is contained in:
Attente
2024-11-20 11:40:24 +08:00
parent f4dca4922b
commit c89edae375
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ export interface Subscribe {
// 过滤规则组 // 过滤规则组
filter_groups?: string[] filter_groups?: string[]
// 下载器 // 下载器
downloader?: string downloader: string
} }
// 订阅分享 // 订阅分享
@@ -390,7 +390,7 @@ export interface Site {
// RSS地址 // RSS地址
rss?: string rss?: string
// 下载器 // 下载器
downloader?: string downloader: string
// Cookie // Cookie
cookie?: string cookie?: string
// ApiKey // ApiKey
@@ -418,7 +418,7 @@ onMounted(() => {
v-model="subscribeForm.downloader" v-model="subscribeForm.downloader"
:items="downloaderOptions" :items="downloaderOptions"
label="下载器" label="下载器"
hint="指定该订阅使用的下载器,留空自动使用默认下载器" hint="指定该订阅使用的下载器"
persistent-hint persistent-hint
/> />
</VCol> </VCol>