This commit is contained in:
2026-06-16 07:08:13 -06:00
parent 085f70bd64
commit a2534459d0
3 changed files with 5 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ const props = defineProps<{
total: number
currentTopic: string
error: string | null
defaultTheme?: string
}>()
const emit = defineEmits<{
@@ -19,7 +20,7 @@ const emit = defineEmits<{
}>()
const phase = ref<Phase>('theme')
const theme = ref('')
const theme = ref(props.defaultTheme ?? '')
const outlineText = ref('')
const outlineError = ref<string | null>(null)
@@ -61,7 +62,7 @@ function handleStart(): void {
function handleClose(): void {
phase.value = 'theme'
theme.value = ''
theme.value = props.defaultTheme ?? ''
outlineText.value = ''
outlineError.value = null
emit('close')

View File

@@ -248,6 +248,7 @@ function closeFixDialog(): void {
:total="batchTotal"
:current-topic="batchCurrentTopic"
:error="batchError"
:default-theme="bookName"
@start="handleBatchStart"
@cancel="handleBatchCancel"
@close="closeBatchDialog"

View File

@@ -733,6 +733,7 @@ table {
border: 1px solid var(--line);
border-radius: 6px;
padding: 8px 12px;
width: 100%;
}
.book-list {