完善二维码池 OCR 配置与识别

This commit is contained in:
yml
2026-06-18 15:22:46 +08:00
parent e8bdf574f4
commit 35f2d93fdf
16 changed files with 1025 additions and 48 deletions
@@ -39,6 +39,8 @@ const isStructuredConfig = computed(() => {
return trimmed.startsWith('{') || trimmed.startsWith('[')
})
const isSecretConfig = computed(() => props.config.key.includes('token'))
const selectOptions = computed<SystemConfigOption[] | null>(() => {
const options = getSystemConfigSelectOptions(props.config.key)
if (!options) return null
@@ -92,7 +94,12 @@ async function handleSave() {
</el-select>
</el-form-item>
<el-form-item v-else label="配置值" class="full-control">
<el-input v-model="value" placeholder="配置值" />
<el-input
v-model="value"
:type="isSecretConfig ? 'password' : 'text'"
:show-password="isSecretConfig"
placeholder="配置值"
/>
</el-form-item>
<el-form-item label="配置说明" class="desc-item">