fix
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -248,6 +248,7 @@ function closeFixDialog(): void {
|
||||
:total="batchTotal"
|
||||
:current-topic="batchCurrentTopic"
|
||||
:error="batchError"
|
||||
:default-theme="bookName"
|
||||
@start="handleBatchStart"
|
||||
@cancel="handleBatchCancel"
|
||||
@close="closeBatchDialog"
|
||||
|
||||
@@ -733,6 +733,7 @@ table {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.book-list {
|
||||
|
||||
Reference in New Issue
Block a user