mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-16 19:32:00 +08:00
【修复】雷池参数问题,Let's Encrypt 申请通配符限制,以及其他已知问题
This commit is contained in:
@@ -325,13 +325,17 @@ export const useApiFormController = (props: { data: AccessItem }) => {
|
||||
cloudflare: $t('t_0_1747042966820'),
|
||||
btpanel: $t('t_1_1747042969705'),
|
||||
btwaf: $t('t_1_1747300384579'),
|
||||
safeline: $t('t_2_1747300385222'),
|
||||
}
|
||||
return callback(new Error(mapTips[param.value.type as keyof typeof mapTips]))
|
||||
}
|
||||
callback()
|
||||
},
|
||||
},
|
||||
api_token: {
|
||||
required: true,
|
||||
message: $t('t_0_1747617113090'),
|
||||
trigger: 'input',
|
||||
},
|
||||
access_key_id: {
|
||||
required: true,
|
||||
message: $t('t_4_1745317314054'),
|
||||
@@ -467,9 +471,13 @@ export const useApiFormController = (props: { data: AccessItem }) => {
|
||||
useFormInput(typeUrlMap.get(param.value.type) || '', 'config.url', {
|
||||
onInput: (val: string) => ((param.value.config as PanelAccessConfig).url = val.trim()),
|
||||
}),
|
||||
useFormInput($t('t_55_1745289355715'), 'config.api_key', {
|
||||
onInput: (val: string) => ((param.value.config as PanelAccessConfig).api_key = val.trim()),
|
||||
}),
|
||||
useFormInput(
|
||||
param.value.type === 'safeline' ? $t('t_1_1747617105179') : $t('t_55_1745289355715'),
|
||||
param.value.type === 'safeline' ? 'config.api_token' : 'config.api_key',
|
||||
{
|
||||
onInput: (val: string) => ((param.value.config as PanelAccessConfig).api_key = val.trim()),
|
||||
},
|
||||
),
|
||||
useFormSwitch(
|
||||
$t('t_3_1746667592270'),
|
||||
'config.ignore_ssl',
|
||||
|
||||
Reference in New Issue
Block a user