fix
This commit is contained in:
@@ -10,6 +10,7 @@ const props = defineProps<{
|
|||||||
total: number
|
total: number
|
||||||
currentTopic: string
|
currentTopic: string
|
||||||
error: string | null
|
error: string | null
|
||||||
|
defaultTheme?: string
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
@@ -19,7 +20,7 @@ const emit = defineEmits<{
|
|||||||
}>()
|
}>()
|
||||||
|
|
||||||
const phase = ref<Phase>('theme')
|
const phase = ref<Phase>('theme')
|
||||||
const theme = ref('')
|
const theme = ref(props.defaultTheme ?? '')
|
||||||
const outlineText = ref('')
|
const outlineText = ref('')
|
||||||
const outlineError = ref<string | null>(null)
|
const outlineError = ref<string | null>(null)
|
||||||
|
|
||||||
@@ -61,7 +62,7 @@ function handleStart(): void {
|
|||||||
|
|
||||||
function handleClose(): void {
|
function handleClose(): void {
|
||||||
phase.value = 'theme'
|
phase.value = 'theme'
|
||||||
theme.value = ''
|
theme.value = props.defaultTheme ?? ''
|
||||||
outlineText.value = ''
|
outlineText.value = ''
|
||||||
outlineError.value = null
|
outlineError.value = null
|
||||||
emit('close')
|
emit('close')
|
||||||
|
|||||||
@@ -248,6 +248,7 @@ function closeFixDialog(): void {
|
|||||||
:total="batchTotal"
|
:total="batchTotal"
|
||||||
:current-topic="batchCurrentTopic"
|
:current-topic="batchCurrentTopic"
|
||||||
:error="batchError"
|
:error="batchError"
|
||||||
|
:default-theme="bookName"
|
||||||
@start="handleBatchStart"
|
@start="handleBatchStart"
|
||||||
@cancel="handleBatchCancel"
|
@cancel="handleBatchCancel"
|
||||||
@close="closeBatchDialog"
|
@close="closeBatchDialog"
|
||||||
|
|||||||
@@ -733,6 +733,7 @@ table {
|
|||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.book-list {
|
.book-list {
|
||||||
|
|||||||
Reference in New Issue
Block a user