mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-06-12 03:01:13 +08:00
feat: 支持设置快捷订阅的路径默认值 (#502)
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
<div style="max-width: 450px; width: 100%;">
|
||||
<SubscriptionCard
|
||||
item={collection}
|
||||
type="collection"
|
||||
type="collections"
|
||||
onSubscriptionSuccess={handleSubscriptionSuccess}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<div style="max-width: 450px; width: 100%;">
|
||||
<SubscriptionCard
|
||||
item={favorite}
|
||||
type="favorite"
|
||||
type="favorites"
|
||||
onSubscriptionSuccess={handleSubscriptionSuccess}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
<div style="max-width: 450px; width: 100%;">
|
||||
<SubscriptionCard
|
||||
item={upper}
|
||||
type="upper"
|
||||
type="submissions"
|
||||
onSubscriptionSuccess={handleSubscriptionSuccess}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -191,8 +191,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Separator />
|
||||
|
||||
<div class="space-y-4">
|
||||
<div class="space-y-2">
|
||||
<Label for="backend-auth-token">后端 API 认证Token</Label>
|
||||
@@ -209,6 +207,23 @@
|
||||
|
||||
<Separator />
|
||||
|
||||
<div class="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
||||
<div class="space-y-2">
|
||||
<Label for="favorite-default-path">收藏夹快捷订阅路径模板</Label>
|
||||
<Input id="favorite-default-path" bind:value={formData.favorite_default_path} />
|
||||
</div>
|
||||
<div class="space-y-2">
|
||||
<Label for="collection-default-path">合集快捷订阅路径模板</Label>
|
||||
<Input id="collection-default-path" bind:value={formData.collection_default_path} />
|
||||
</div>
|
||||
<div class="space-y-2">
|
||||
<Label for="submission-default-path">UP 主投稿快捷订阅路径模板</Label>
|
||||
<Input id="submission-default-path" bind:value={formData.submission_default_path} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Separator />
|
||||
|
||||
<div class="space-y-4">
|
||||
<div class="flex items-center space-x-2">
|
||||
<Switch id="cdn-sorting" bind:checked={formData.cdn_sorting} />
|
||||
|
||||
Reference in New Issue
Block a user