【修复】部署限制'btpanel-site'参数导致的添加问题

This commit is contained in:
chudong
2025-05-27 10:21:34 +08:00
parent 6ba46dcc91
commit e6e24b7f0b
70 changed files with 10943 additions and 13426 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -109,7 +109,7 @@ export default defineComponent<CAProviderSelectProps>({
return () => (
<NSpin show={isLoading.value}>
<NGrid cols={24} class={props.customClass}>
<NFormItemGi span={13} label={$t('证书颁发机构/授权(可选)')} path={props.path}>
<NFormItemGi span={13} label={$t('t_0_1748052857931')} path={props.path}>
<NSelect
class="flex-1 w-full"
options={caProviderRef.value}
@@ -128,7 +128,7 @@ export default defineComponent<CAProviderSelectProps>({
class="flex items-center cursor-pointer hover:text-[#333] hover:bg-[#eee]"
onClick={() => goToAddCAProvider('addCAForm')}
>
{$t('添加Zerossl、GoogleCA证书授权')}
{$t('t_1_1748052860539')}
</div>
)
},

View File

@@ -46,7 +46,6 @@ export function useDnsProviderSelectController(props: DnsProviderSelectProps, em
const valueToCompare = props.valueType === 'value' ? item.value : item.type
return valueToCompare === param.value.value
})
if (selectedProvider) {
param.value = {
label: selectedProvider.label,
@@ -170,8 +169,9 @@ export function useDnsProviderSelectController(props: DnsProviderSelectProps, em
},
)
onMounted(() => {
loadDnsProviders(props.type)
onMounted(async () => {
await loadDnsProviders(props.type)
console.log(param.value)
})
onUnmounted(() => {

View File

@@ -612,7 +612,6 @@
"t_4_1747984130327": "نسخ",
"t_5_1747984133112": "عند اقتراب وقت الانتهاء",
"t_0_1747990228780": "يرجى اختيار سلطة التصديق",
"t_1_1747990228492": "سلطة الشهادات (معرف EAB)",
"t_2_1747990228008": "لا تتوفر بيانات تفويض CA",
"t_3_1747990229599": "فشل في الحصول على قائمة التفويض CA",
"t_4_1747990227956": "التجديد التلقائي (أيام)",
@@ -622,6 +621,8 @@
"t_8_1747990235316": "يدعم فقط عناوين الوكيل http أو https (مثال: http://proxy.example.com:8080)",
"t_9_1747990229640": "وقت التجديد التلقائي لا يمكن أن يكون فارغًا",
"t_10_1747990232207": "الرجاء اختيار اسم الموقع (يدعم اختيارات متعددة)",
"t_0_1747990626044": "إضافة Zerossl، Google، تفويض CA مخصص",
"t_0_1747994891459": "موقع باغودا docker"
"t_0_1747994891459": "موقع باغودا docker",
"t_0_1748052857931": "هيئة التصديق/التفويض (اختياري)",
"t_1_1748052860539": "إضافة Zerossl، Google، تفويض شهادة CA",
"t_2_1748052862259": "يرجى إدخال معلومات بريدك الإلكتروني لاستلام رسالة التحقق من الشهادة"
}

View File

@@ -612,7 +612,6 @@
"t_4_1747984130327": "Copy",
"t_5_1747984133112": "When the expiration time is approaching",
"t_0_1747990228780": "Please select the certificate authority",
"t_1_1747990228492": "Certificate Authority (EAB ID)",
"t_2_1747990228008": "No CA authorization data available",
"t_3_1747990229599": "Failed to get CA authorization list",
"t_4_1747990227956": "Auto-renewal (days)",
@@ -622,6 +621,8 @@
"t_8_1747990235316": "Only supports http or https proxy addresses (e.g., http://proxy.example.com:8080)",
"t_9_1747990229640": "Auto-renewal time cannot be empty",
"t_10_1747990232207": "Please select the website name, multiple selections are supported",
"t_0_1747990626044": "Add Zerossl, Google, custom CA authorization",
"t_0_1747994891459": "Pagoda docker website"
"t_0_1747994891459": "Pagoda docker website",
"t_0_1748052857931": "Certificate Authority/Authorization (Optional)",
"t_1_1748052860539": "Add Zerossl, Google, CA certificate authorization",
"t_2_1748052862259": "Please enter your email information to receive the certificate verification email"
}

View File

@@ -612,7 +612,6 @@
"t_4_1747984130327": "Copiar",
"t_5_1747984133112": "Cuando el tiempo de expiración se acerca",
"t_0_1747990228780": "Por favor, seleccione la autoridad certificadora",
"t_1_1747990228492": "Autoridad de Certificación (ID EAB)",
"t_2_1747990228008": "No hay datos de autorización CA disponibles",
"t_3_1747990229599": "Error al obtener la lista de autorización CA",
"t_4_1747990227956": "Renovación automática (días)",
@@ -622,6 +621,8 @@
"t_8_1747990235316": "Solo admite direcciones proxy http o https (por ejemplo, http://proxy.example.com:8080)",
"t_9_1747990229640": "El tiempo de renovación automática no puede estar vacío",
"t_10_1747990232207": "Por favor, seleccione el nombre del sitio web (se admiten múltiples selecciones)",
"t_0_1747990626044": "Agregar Zerossl, Google, autorización CA personalizada",
"t_0_1747994891459": "Sitio web de Pagoda docker"
"t_0_1747994891459": "Sitio web de Pagoda docker",
"t_0_1748052857931": "Autoridad Certificadora/Autorización (Opcional)",
"t_1_1748052860539": "Agregar Zerossl, Google, autorización de certificado CA",
"t_2_1748052862259": "Por favor ingrese la información de su correo electrónico para recibir el correo de verificación del certificado"
}

View File

@@ -612,7 +612,6 @@
"t_4_1747984130327": "Copier",
"t_5_1747984133112": "Lorsque la date d'expiration approche",
"t_0_1747990228780": "Veuillez sélectionner l'autorité de certification",
"t_1_1747990228492": "Autorité de certification (ID EAB)",
"t_2_1747990228008": "Aucune donnée d'autorisation CA disponible",
"t_3_1747990229599": "Échec de l'obtention de la liste d'autorisation CA",
"t_4_1747990227956": "Renouvellement automatique (jours)",
@@ -622,6 +621,8 @@
"t_8_1747990235316": "Ne prend en charge que les adresses proxy http ou https (par exemple, http://proxy.example.com:8080)",
"t_9_1747990229640": "L'heure de renouvellement automatique ne peut pas être vide",
"t_10_1747990232207": "Veuillez sélectionner le nom du site (sélection multiple prise en charge)",
"t_0_1747990626044": "Ajouter Zerossl, Google, autorisation CA personnalisée",
"t_0_1747994891459": "Site web Pagoda docker"
"t_0_1747994891459": "Site web Pagoda docker",
"t_0_1748052857931": "Autorité de Certification/Autorisation (Optionnel)",
"t_1_1748052860539": "Ajouter Zerossl, Google, autorisation de certificat CA",
"t_2_1748052862259": "Veuillez entrer les informations de votre e-mail pour recevoir l'e-mail de vérification du certificat"
}

View File

@@ -612,7 +612,6 @@
"t_4_1747984130327": "コピー",
"t_5_1747984133112": "有効期限までの時間が",
"t_0_1747990228780": "証明書発行機関を選択してください",
"t_1_1747990228492": "証明機関EAB ID",
"t_2_1747990228008": "CA認証データなし",
"t_3_1747990229599": "CA認証リストの取得に失敗しました",
"t_4_1747990227956": "自動更新(日)",
@@ -622,6 +621,8 @@
"t_8_1747990235316": "http または https プロキシアドレスのみサポートしていますhttp://proxy.example.com:8080",
"t_9_1747990229640": "自動更新時間は空にできません",
"t_10_1747990232207": "ウェブサイト名を選択してください(複数選択可)",
"t_0_1747990626044": "Zerossl、Googleを追加、カスタムCA認証",
"t_0_1747994891459": "宝塔dockerサイト"
"t_0_1747994891459": "宝塔dockerサイト",
"t_0_1748052857931": "証明機関/認証(オプション)",
"t_1_1748052860539": "Zerossl、Google、CA証明書認証を追加",
"t_2_1748052862259": "証明書確認メールを受け取るためのメール情報を入力してください"
}

View File

@@ -612,7 +612,6 @@
"t_4_1747984130327": "복사",
"t_5_1747984133112": "만료 시간이 다가올 때",
"t_0_1747990228780": "증명서 발급 기관을 선택하세요",
"t_1_1747990228492": "인증 기관 (EAB ID)",
"t_2_1747990228008": "CA 인증 데이터 없음",
"t_3_1747990229599": "CA 인증 목록 가져오기 실패",
"t_4_1747990227956": "자동 갱신(일)",
@@ -622,6 +621,8 @@
"t_8_1747990235316": "http 또는 https 프록시 주소만 지원합니다 (예: http://proxy.example.com:8080)",
"t_9_1747990229640": "자동 갱신 시간은 비워 둘 수 없습니다",
"t_10_1747990232207": "웹사이트 이름을 선택하세요 (다중 선택 가능)",
"t_0_1747990626044": "Zerossl, Google 추가, 사용자 정의 CA 인증",
"t_0_1747994891459": "보타 docker 웹사이트"
"t_0_1747994891459": "보타 docker 웹사이트",
"t_0_1748052857931": "인증 기관/인증 (선택 사항)",
"t_1_1748052860539": "Zerossl, Google, CA 인증서 권한 부여 추가",
"t_2_1748052862259": "인증서 검증 이메일을 받기 위해 이메일 정보를 입력하세요"
}

View File

@@ -612,7 +612,6 @@
"t_4_1747984130327": "Copiar",
"t_5_1747984133112": "Quando o tempo de expiração está próximo",
"t_0_1747990228780": "Por favor, selecione a autoridade certificadora",
"t_1_1747990228492": "Autoridade de Certificação (ID EAB)",
"t_2_1747990228008": "Nenhum dado de autorização CA disponível",
"t_3_1747990229599": "Falha ao obter a lista de autorização CA",
"t_4_1747990227956": "Renovação automática (dias)",
@@ -622,6 +621,8 @@
"t_8_1747990235316": "Apenas suporta endereços de proxy http ou https (por exemplo, http://proxy.example.com:8080)",
"t_9_1747990229640": "O tempo de renovação automática não pode estar vazio",
"t_10_1747990232207": "Por favor, selecione o nome do site (seleção múltipla suportada)",
"t_0_1747990626044": "Adicionar Zerossl, Google, autorização CA personalizada",
"t_0_1747994891459": "Site do Pagoda docker"
"t_0_1747994891459": "Site do Pagoda docker",
"t_0_1748052857931": "Autoridade Certificadora/Autorização (Opcional)",
"t_1_1748052860539": "Adicionar Zerossl, Google, autorização de certificado CA",
"t_2_1748052862259": "Por favor, insira as informações do seu e-mail para receber o e-mail de verificação do certificado"
}

View File

@@ -612,7 +612,6 @@
"t_4_1747984130327": "Копировать",
"t_5_1747984133112": "Когда срок действия подходит к концу",
"t_0_1747990228780": "Пожалуйста, выберите центр сертификации",
"t_1_1747990228492": "Центр сертификации (EAB ID)",
"t_2_1747990228008": "Нет данных авторизации CA",
"t_3_1747990229599": "Не удалось получить список авторизации CA",
"t_4_1747990227956": "Автопродление (дни)",
@@ -622,6 +621,8 @@
"t_8_1747990235316": "Поддерживаются только прокси-адреса http или https (например, http://proxy.example.com:8080)",
"t_9_1747990229640": "Время автоматического продления не может быть пустым",
"t_10_1747990232207": "Пожалуйста, выберите название веб-сайта (поддерживается множественный выбор)",
"t_0_1747990626044": "Добавить Zerossl, Google, пользовательскую авторизацию CA",
"t_0_1747994891459": "Веб-сайт Pagoda docker"
"t_0_1747994891459": "Веб-сайт Pagoda docker",
"t_0_1748052857931": "Центр Сертификации/Авторизация (Опционально)",
"t_1_1748052860539": "Добавить Zerossl, Google, авторизацию сертификата CA",
"t_2_1748052862259": "Пожалуйста, введите информацию о вашей электронной почте для получения письма с подтверждением сертификата"
}

View File

@@ -612,7 +612,6 @@
"t_4_1747984130327": "复制",
"t_5_1747984133112": "当距离到期时间",
"t_0_1747990228780": "请选择证书颁发机构",
"t_1_1747990228492": "证书颁发机构EAB ID",
"t_2_1747990228008": "暂无CA授权数据",
"t_3_1747990229599": "获取CA授权列表失败",
"t_4_1747990227956": "自动续签(天)",
@@ -622,6 +621,8 @@
"t_8_1747990235316": "仅支持 http 或 https 代理地址例如http://proxy.example.com:8080",
"t_9_1747990229640": "自动续签时间不能为空",
"t_10_1747990232207": "请选择网站名,支持多选网站名称",
"t_0_1747990626044": "添加Zerossl、Google自定义CA授权",
"t_0_1747994891459": "宝塔docker网站"
"t_0_1747994891459": "宝塔docker网站",
"t_0_1748052857931": "证书颁发机构/授权(可选)",
"t_1_1748052860539": "添加Zerossl、GoogleCA证书授权",
"t_2_1748052862259": "请输入邮箱信息,用于接收证书验证邮件"
}

View File

@@ -611,7 +611,6 @@
"t_4_1747984130327": "复制",
"t_5_1747984133112": "當距離到期時間",
"t_0_1747990228780": "請選擇證書頒發機構",
"t_1_1747990228492": "證書頒發機構EAB ID",
"t_2_1747990228008": "暫無CA授權數據",
"t_3_1747990229599": "獲取CA授權列表失敗",
"t_4_1747990227956": "自動續簽(天)",
@@ -621,6 +620,8 @@
"t_8_1747990235316": "僅支援 http 或 https 代理地址例如http://proxy.example.com:8080",
"t_9_1747990229640": "自動續簽時間不能為空",
"t_10_1747990232207": "請選擇網站名,支援多選網站名稱",
"t_0_1747990626044": "新增Zerossl、Google自訂CA授權",
"t_0_1747994891459": "寶塔docker網站"
"t_0_1747994891459": "寶塔docker網站",
"t_0_1748052857931": "證書頒發機構/授權(可選)",
"t_1_1748052860539": "新增Zerossl、GoogleCA憑證授權",
"t_2_1748052862259": "請輸入郵箱信息,用於接收證書驗證郵件"
}

View File

@@ -93,8 +93,8 @@ export default defineComponent({
)
},
},
useFormInput($t('邮件'), 'email', {
placeholder: $t('请输入邮箱信息,用于接收证书验证邮件'),
useFormInput($t('t_68_1745289354676'), 'email', {
placeholder: $t('t_2_1748052862259'),
allowInput: noSideSpace,
}),

View File

@@ -121,11 +121,17 @@ export default defineComponent({
valueType: 'value' as const,
isAddMode: true,
'onUpdate:value': (val: { value: number | string; type: string }) => {
if (val.value !== '' && param.value.provider_id !== '' && param.value.provider_id !== val.value) {
if (
val.value !== '' &&
param.value.provider_id !== '' &&
param.value.provider_id !== val.value &&
param.provider === 'btpanel-site'
) {
param.value.siteName = []
}
param.value.provider_id = val.value
},
param.value.type = val.type
},
}
return (<DnsProviderSelect {...dnsProviderProps} />) as VNode
}),
@@ -257,6 +263,7 @@ export default defineComponent({
const prevStep = (): void => {
current.value--
next.value = true
param.value = {}
param.value.provider_id = ''
param.value.provider = ''
}