fix: 降低 API Key 最小长度限制至 3 个字符

This commit is contained in:
fawney19
2026-01-08 01:53:16 +08:00
parent 238788e0e9
commit d9e6346911
3 changed files with 6 additions and 10 deletions

View File

@@ -349,8 +349,8 @@ const apiKeyError = computed(() => {
}
// 如果输入了值,检查长度
if (apiKey.length < 10) {
return 'API 密钥至少需要 10 个字符'
if (apiKey.length < 3) {
return 'API 密钥至少需要 3 个字符'
}
return ''