mirror of
https://github.com/lanyeeee/bilibili-video-downloader.git
synced 2026-09-07 00:27:46 +08:00
feat: 支持设置创建下载任务后是否自动开始
This commit is contained in:
@@ -52,7 +52,7 @@ async function showConfigInFileManager() {
|
||||
|
||||
<template>
|
||||
<n-modal v-if="store.config !== undefined" v-model:show="showing">
|
||||
<n-dialog :showIcon="false" title="配置" content-style="" @close="showing = false">
|
||||
<n-dialog :showIcon="false" content-style="" @close="showing = false">
|
||||
<div class="flex flex-col gap-row-2">
|
||||
<n-tabs class="h-full" v-model:value="currentTabName" type="line" size="small" animated>
|
||||
<n-tab-pane name="download_settings" tab="下载内容">
|
||||
|
||||
@@ -8,7 +8,7 @@ const store = useStore()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div v-if="store.config !== undefined" class="flex flex-col gap-row-2">
|
||||
<div v-if="store.config !== undefined" class="flex flex-col gap-row-1">
|
||||
<div class="flex gap-2">
|
||||
<span class="w-15 font-bold">主要内容</span>
|
||||
<n-checkbox class="w-22" v-model:checked="store.config.download_video">下载视频</n-checkbox>
|
||||
@@ -131,6 +131,13 @@ const store = useStore()
|
||||
<n-radio-button value="Skip">跳过下载</n-radio-button>
|
||||
</n-radio-group>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col">
|
||||
<span class="font-bold">其他</span>
|
||||
<n-checkbox class="w-fit" v-model:checked="store.config.auto_start_download_task">
|
||||
创建下载任务后自动开始
|
||||
</n-checkbox>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user