refactor: remove recognize source selection and hardcode to themoviedb in setup wizard

This commit is contained in:
jxxghp
2026-04-16 19:50:37 +08:00
parent 4b3733bc19
commit 61c073ad6c
2 changed files with 1 additions and 19 deletions

View File

@@ -37,11 +37,6 @@ const confirmPasswordErrorMessage = computed(() => {
return ''
})
const recognizeSourceItems = [
{ title: 'TheMovieDb', value: 'themoviedb' },
{ title: '豆瓣', value: 'douban' },
]
// API Token验证
const apiTokenError = computed(() => {
return !wizardData.value.basic.apiToken && hasErrors.value
@@ -124,16 +119,6 @@ const usernameErrorMessage = computed(() => {
clearable
/>
</VCol>
<VCol cols="12" md="6">
<VSelect
v-model="wizardData.basic.recognizeSource"
:label="t('setupWizard.basic.recognizeSource')"
:hint="t('setupWizard.basic.recognizeSourceHint')"
:items="recognizeSourceItems"
persistent-hint
prepend-inner-icon="mdi-database-search"
/>
</VCol>
<VCol cols="12" md="6">
<VTextField
v-model="wizardData.basic.ocrHost"