File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1129,7 +1129,7 @@ export function useSetupWizard() {
11291129 const basicSettings = {
11301130 APP_DOMAIN : wizardData . value . basic . appDomain ,
11311131 API_TOKEN : wizardData . value . basic . apiToken ,
1132- RECOGNIZE_SOURCE : wizardData . value . basic . recognizeSource ,
1132+ RECOGNIZE_SOURCE : 'themoviedb' ,
11331133 OCR_HOST : wizardData . value . basic . ocrHost ,
11341134 PROXY_HOST : wizardData . value . basic . proxyHost ,
11351135 GITHUB_TOKEN : wizardData . value . basic . githubToken ,
@@ -1414,9 +1414,6 @@ export function useSetupWizard() {
14141414 if ( result . data . PROXY_HOST ) {
14151415 wizardData . value . basic . proxyHost = result . data . PROXY_HOST
14161416 }
1417- if ( result . data . RECOGNIZE_SOURCE ) {
1418- wizardData . value . basic . recognizeSource = result . data . RECOGNIZE_SOURCE
1419- }
14201417 if ( result . data . OCR_HOST ) {
14211418 wizardData . value . basic . ocrHost = result . data . OCR_HOST
14221419 }
Original file line number Diff line number Diff line change @@ -37,11 +37,6 @@ const confirmPasswordErrorMessage = computed(() => {
3737 return ' '
3838})
3939
40- const recognizeSourceItems = [
41- { title: ' TheMovieDb' , value: ' themoviedb' },
42- { title: ' 豆瓣' , value: ' douban' },
43- ]
44-
4540// API Token验证
4641const apiTokenError = computed (() => {
4742 return ! wizardData .value .basic .apiToken && hasErrors .value
@@ -124,16 +119,6 @@ const usernameErrorMessage = computed(() => {
124119 clearable
125120 />
126121 </VCol >
127- <VCol cols =" 12" md =" 6" >
128- <VSelect
129- v-model =" wizardData.basic.recognizeSource"
130- :label =" t('setupWizard.basic.recognizeSource')"
131- :hint =" t('setupWizard.basic.recognizeSourceHint')"
132- :items =" recognizeSourceItems"
133- persistent-hint
134- prepend-inner-icon =" mdi-database-search"
135- />
136- </VCol >
137122 <VCol cols =" 12" md =" 6" >
138123 <VTextField
139124 v-model =" wizardData.basic.ocrHost"
You can’t perform that action at this time.
0 commit comments